Struct ptp_clock_caps

#[repr(C)]
pub struct ptp_clock_caps { pub max_adj: c_int, pub n_alarm: c_int, pub n_ext_ts: c_int, pub n_per_out: c_int, pub pps: c_int, pub n_pins: c_int, pub cross_timestamping: c_int, pub adjust_phase: c_int, pub max_phase_adj: c_int, pub rsv: [c_int; 11] }

Fields

max_adj: c_int
n_alarm: c_int
n_ext_ts: c_int
n_per_out: c_int
pps: c_int
n_pins: c_int
cross_timestamping: c_int
adjust_phase: c_int
max_phase_adj: c_int
rsv: [c_int; 11]

Trait Implementations

impl Clone for ptp_clock_caps

fn clone(&self) -> ptp_clock_caps

impl Copy for ptp_clock_caps

impl Debug for ptp_clock_caps

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for ptp_clock_caps

impl Hash for ptp_clock_caps

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for ptp_clock_caps

fn eq(&self, other: &ptp_clock_caps) -> bool

impl StructuralPartialEq for ptp_clock_caps

Auto Trait Implementations

impl Freeze for ptp_clock_caps

impl RefUnwindSafe for ptp_clock_caps

impl Send for ptp_clock_caps

impl Sync for ptp_clock_caps

impl Unpin for ptp_clock_caps

impl UnsafeUnpin for ptp_clock_caps

impl UnwindSafe for ptp_clock_caps

Blanket Implementations

impl<T> Any for ptp_clock_caps where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ptp_clock_caps where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ptp_clock_caps where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for ptp_clock_caps where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for ptp_clock_caps

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for ptp_clock_caps where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ptp_clock_caps where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ptp_clock_caps where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>