Struct ptp_sys_offset_extended
#[repr(C)]
pub struct ptp_sys_offset_extended { pub n_samples: c_uint, pub clockid: __kernel_clockid_t, pub rsv: [c_uint; 2], pub ts: [[ptp_clock_time; 3]; 25] }
Fields
n_samples: c_uintclockid: __kernel_clockid_trsv: [c_uint; 2]ts: [[ptp_clock_time; 3]; 25]
Trait Implementations
impl Clone for ptp_sys_offset_extended
fn clone(&self) -> ptp_sys_offset_extended
impl Copy for ptp_sys_offset_extended
impl Debug for ptp_sys_offset_extended
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ptp_sys_offset_extended
impl Hash for ptp_sys_offset_extended
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for ptp_sys_offset_extended
fn eq(&self, other: &ptp_sys_offset_extended) -> bool
impl StructuralPartialEq for ptp_sys_offset_extended
Auto Trait Implementations
impl Freeze for ptp_sys_offset_extended
impl RefUnwindSafe for ptp_sys_offset_extended
impl Send for ptp_sys_offset_extended
impl Sync for ptp_sys_offset_extended
impl Unpin for ptp_sys_offset_extended
impl UnsafeUnpin for ptp_sys_offset_extended
impl UnwindSafe for ptp_sys_offset_extended
Blanket Implementations
impl<T> Any for ptp_sys_offset_extended
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ptp_sys_offset_extended
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ptp_sys_offset_extended
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for ptp_sys_offset_extended
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for ptp_sys_offset_extended
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for ptp_sys_offset_extended
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_sys_offset_extended
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ptp_sys_offset_extended
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>