pub enum MessageBody {
Sync(SyncMessage),
DelayReq(DelayReqMessage),
PDelayReq(PDelayReqMessage),
PDelayResp(PDelayRespMessage),
FollowUp(FollowUpMessage),
DelayResp(DelayRespMessage),
PDelayRespFollowUp(PDelayRespFollowUpMessage),
Announce(AnnounceMessage),
Signaling(SignalingMessage),
Management(ManagementMessage),
}Expand description
The main body of a message.
For more details, see IEEE1588-2019 section 13.3
Variants§
Sync(SyncMessage)
A synchronization message.
DelayReq(DelayReqMessage)
A delay request message.
PDelayReq(PDelayReqMessage)
A peer delay request message.
PDelayResp(PDelayRespMessage)
A peer delay response message.
FollowUp(FollowUpMessage)
A followup for a two-step timing message.
DelayResp(DelayRespMessage)
A delay response message.
PDelayRespFollowUp(PDelayRespFollowUpMessage)
A peer delay response follow up message used for two step timing of peer delay response messages.
Announce(AnnounceMessage)
An announce message
Signaling(SignalingMessage)
A signalling message.
These messages are used purely as a vehicle for TLVs.
Management(ManagementMessage)
A management message.
Trait Implementations§
Source§impl Clone for MessageBody
impl Clone for MessageBody
Source§impl Debug for MessageBody
impl Debug for MessageBody
impl Eq for MessageBody
Source§impl PartialEq for MessageBody
impl PartialEq for MessageBody
impl StructuralPartialEq for MessageBody
Auto Trait Implementations§
impl Forget for MessageBody
impl Freeze for MessageBody
impl Move for MessageBody
impl RefUnwindSafe for MessageBody
impl Send for MessageBody
impl Sync for MessageBody
impl Unpin for MessageBody
impl UnsafeUnpin for MessageBody
impl UnwindSafe for MessageBody
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