pub struct V2ipPtpState {
pub flags: V2ipPtpFlag,
pub mode: V2ipPtpMode,
pub domain: u8,
pub port_state: u8,
pub lock: V2ipPtpLock,
pub clock_identity: [u8; 8],
pub grandmaster_identity: [u8; 8],
}Expand description
A V2IP device’s PTP state, as it reports it about itself.
Only the device can read its own video processor, so this is never written to a device, and a controller’s frame about one carries none.
Fields§
§flags: V2ipPtpFlagThe block’s flags.
mode: V2ipPtpModeThe mode the video processor runs.
domain: u8The domain the video processor runs in.
port_state: u8The IEEE 1588 portState.
lock: V2ipPtpLockHow far the clock has locked.
clock_identity: [u8; 8]The device’s own clock identity.
grandmaster_identity: [u8; 8]The clock identity of the grandmaster the device runs on, all zero while it runs on none.
Implementations§
Trait Implementations§
Source§impl Clone for V2ipPtpState
impl Clone for V2ipPtpState
impl Copy for V2ipPtpState
Source§impl Debug for V2ipPtpState
impl Debug for V2ipPtpState
Source§impl Default for V2ipPtpState
impl Default for V2ipPtpState
impl Eq for V2ipPtpState
Source§impl PartialEq for V2ipPtpState
impl PartialEq for V2ipPtpState
impl StructuralPartialEq for V2ipPtpState
Auto Trait Implementations§
impl Freeze for V2ipPtpState
impl RefUnwindSafe for V2ipPtpState
impl Send for V2ipPtpState
impl Sync for V2ipPtpState
impl Unpin for V2ipPtpState
impl UnsafeUnpin for V2ipPtpState
impl UnwindSafe for V2ipPtpState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more