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_intn_alarm: c_intn_ext_ts: c_intn_per_out: c_intpps: c_intn_pins: c_intcross_timestamping: c_intadjust_phase: c_intmax_phase_adj: c_intrsv: [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) -> TReturns the argument unchanged.
impl<T, U> Into<U> for ptp_clock_caps
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses 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>