Module config

Source
Expand description

Configuration structures

Configurations for a PtpInstance:

Configurations for a Port:

And types used within those configurations.

Structs§

AcceptAnyMaster
An AcceptableMasterList that accepts any ClockIdentity as a master clock.
ClockIdentity
The identity of a PTP node.
ClockQuality
A description of the accuracy and type of a clock.
InstanceConfig
Configuration for a PtpInstance
PortConfig
Configuration items of the PTP PortDS dataset. Dynamical fields are kept as part of crate::port::Port.
SdoId
A wrapper type for PTP Sdo Identifiers.
TimePropertiesDS
A concrete implementation of the PTP Time Properties dataset

Enums§

ClockAccuracy
How accurate the underlying clock device is expected to be when not synchronized.
DelayMechanism
Which delay mechanism a port is using.
LeapIndicator
Describes upcoming leap seconds.
PtpMinorVersion
Minor version to be used in PTP protocol messages
TimeSource
What the time values for a system are derived from

Traits§

AcceptableMasterList
A list of ClockIdentitys a Port may accept as a master clock.