pub struct AnnounceMessage {
pub origin_timestamp: Timestamp,
pub current_utc_offset: i16,
pub grandmaster_priority_1: u8,
pub grandmaster_clock_quality: ClockQuality,
pub grandmaster_priority_2: u8,
pub grandmaster_identity: ClockIdentity,
pub steps_removed: u16,
pub time_source: TimeSource,
}Expand description
The body of an announce message
Fields§
§origin_timestamp: TimestampTimestamp this announce was generated on the remote.
current_utc_offset: i16Current offset between UTC and TAI.
grandmaster_priority_1: u8Grandmaster priority 1 as used in the BMCA.
grandmaster_clock_quality: ClockQualityQuality of the grandmaster clock.
grandmaster_priority_2: u8Grandmaster priority 2 as used in the BMCA.
grandmaster_identity: ClockIdentityIdentity of the Grandmaster clock
steps_removed: u16Number of steps in the synchronization graph between sender of the announce message and the Grandmaster clock.
time_source: TimeSourceType of time source used by the grandmaster clock.
Trait Implementations§
Source§impl Clone for AnnounceMessage
impl Clone for AnnounceMessage
impl Copy for AnnounceMessage
Source§impl Debug for AnnounceMessage
impl Debug for AnnounceMessage
impl Eq for AnnounceMessage
Source§impl PartialEq for AnnounceMessage
impl PartialEq for AnnounceMessage
impl StructuralPartialEq for AnnounceMessage
Auto Trait Implementations§
impl Forget for AnnounceMessage
impl Freeze for AnnounceMessage
impl Move for AnnounceMessage
impl RefUnwindSafe for AnnounceMessage
impl Send for AnnounceMessage
impl Sync for AnnounceMessage
impl Unpin for AnnounceMessage
impl UnsafeUnpin for AnnounceMessage
impl UnwindSafe for AnnounceMessage
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