#[repr(transparent)]pub struct DataType(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl DataType
impl DataType
pub const TELEMETRY_ERROR: Self
pub const RELIABLE_ACK: Self
pub const RELIABLE_PACKET_REQUEST: Self
pub const RELIABLE_PARTIAL_ACK: Self
pub const TIME_SYNC_ANNOUNCE: Self
pub const TIME_SYNC_REQUEST: Self
pub const TIME_SYNC_RESPONSE: Self
pub const DISCOVERY_ANNOUNCE: Self
pub const DISCOVERY_TIMESYNC_SOURCES: Self
pub const DISCOVERY_TOPOLOGY: Self
pub const DISCOVERY_SCHEMA: Self
pub const DISCOVERY_TOPOLOGY_REQUEST: Self
pub const DISCOVERY_SCHEMA_REQUEST: Self
pub const MANAGED_VARIABLE_REQUEST: Self
pub const MANAGED_VARIABLE_VALUE: Self
pub const DISCOVERY_LEAVE: Self
pub const DISCOVERY_LINK_CAPABILITIES: Self
pub const DISCOVERY_ADDRESS: Self
pub const P2P_MESSAGE: Self
pub const TelemetryError: Self = Self::TELEMETRY_ERROR
pub const ReliableAck: Self = Self::RELIABLE_ACK
pub const ReliablePacketRequest: Self = Self::RELIABLE_PACKET_REQUEST
pub const ReliablePartialAck: Self = Self::RELIABLE_PARTIAL_ACK
pub const TimeSyncAnnounce: Self = Self::TIME_SYNC_ANNOUNCE
pub const TimeSyncRequest: Self = Self::TIME_SYNC_REQUEST
pub const TimeSyncResponse: Self = Self::TIME_SYNC_RESPONSE
pub const DiscoveryAnnounce: Self = Self::DISCOVERY_ANNOUNCE
pub const DiscoveryTimeSyncSources: Self = Self::DISCOVERY_TIMESYNC_SOURCES
pub const DiscoveryTopology: Self = Self::DISCOVERY_TOPOLOGY
pub const DiscoverySchema: Self = Self::DISCOVERY_SCHEMA
pub const DiscoveryTopologyRequest: Self = Self::DISCOVERY_TOPOLOGY_REQUEST
pub const DiscoverySchemaRequest: Self = Self::DISCOVERY_SCHEMA_REQUEST
pub const ManagedVariableRequest: Self = Self::MANAGED_VARIABLE_REQUEST
pub const ManagedVariableValue: Self = Self::MANAGED_VARIABLE_VALUE
pub const DiscoveryLeave: Self = Self::DISCOVERY_LEAVE
pub const DiscoveryLinkCapabilities: Self = Self::DISCOVERY_LINK_CAPABILITIES
pub const DiscoveryAddress: Self = Self::DISCOVERY_ADDRESS
pub const P2pMessage: Self = Self::P2P_MESSAGE
pub const fn as_u32(self) -> u32
pub fn try_from_u32(x: u32) -> Option<Self>
pub fn try_named(name: &str) -> Option<Self>
pub fn named(name: &str) -> Self
Trait Implementations§
impl Copy for DataType
impl Eq for DataType
Source§impl Ord for DataType
impl Ord for DataType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for DataType
impl PartialOrd for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin for DataType
impl UnwindSafe for DataType
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