Skip to main content

Crate statime_wire

Crate statime_wire 

Source
Expand description

General datastructures as defined by the ptp spec

Structs§

AnnounceMessage
The body of an announce message
ClockIdentity
The identity of a PTP node.
ClockQuality
A description of the accuracy and type of a clock.
DelayReqMessage
Delay request message body
DelayRespMessage
Delay response message body
FollowUpMessage
Follow up message for a sync message.
Header
The header of a PTP version 2 message.
ManagementMessage
Management message body
Message
A PTP version 2 Message.
PDelayReqMessage
Peer delay message body
PDelayRespFollowUpMessage
Peer delay response follow up message
PDelayRespMessage
Peer delay response message
PortIdentity
Identity of a single port of a PTP instance
PtpVersion
The PTP version of a message.
SdoId
A wrapper type for PTP Sdo Identifiers.
SignalingMessage
Signalling message body
SyncMessage
Sync message body
TimeInterval
An interval of passed time as represented in PTP messages.
Timestamp
A timestamp as they occur in PTP messages.
Tlv
A single TLV that can be afixed to a PTP message.
TlvSet
A set of TLVs that can be iterated over.
TlvSetBuilder
A builder that can be used to create TlvSet

Enums§

ClockAccuracy
How accurate the underlying clock device is expected to be when not synchronized.
Error
An error that occured during processing in this crate.
ManagementAction
Requested action for management of the port, see: 15.4.1.6
MessageBody
The main body of a message.
TimeSource
What the time values for a system are derived from
TlvType
The type of a given TLV.

Functions§

is_compatible
Checks whether message is of a PTP revision compatible with this crate.