Expand description
General datastructures as defined by the ptp spec
Structs§
- Announce
Message - The body of an announce message
- Clock
Identity - The identity of a PTP node.
- Clock
Quality - A description of the accuracy and type of a clock.
- Delay
ReqMessage - Delay request message body
- Delay
Resp Message - Delay response message body
- Follow
UpMessage - Follow up message for a sync message.
- Header
- The header of a PTP version 2 message.
- Management
Message - Management message body
- Message
- A PTP version 2 Message.
- PDelay
ReqMessage - Peer delay message body
- PDelay
Resp Follow UpMessage - Peer delay response follow up message
- PDelay
Resp Message - Peer delay response message
- Port
Identity - Identity of a single port of a PTP instance
- PtpVersion
- The PTP version of a message.
- SdoId
- A wrapper type for PTP Sdo Identifiers.
- Signaling
Message - Signalling message body
- Sync
Message - Sync message body
- Time
Interval - 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.
- TlvSet
Builder - A builder that can be used to create
TlvSet
Enums§
- Clock
Accuracy - How accurate the underlying clock device is expected to be when not synchronized.
- Error
- An error that occured during processing in this crate.
- Management
Action - Requested action for management of the port, see: 15.4.1.6
- Message
Body - The main body of a message.
- Time
Source - 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.