pub struct Bvlc6ResultCode(/* private fields */);Expand description
The result code a B/IPv6 BVLC-Result carries (Annex U.2.1.1): success, or a NAK naming the request that failed.
Implementations§
Source§impl Bvlc6ResultCode
impl Bvlc6ResultCode
Sourcepub const SUCCESSFUL_COMPLETION: Self
pub const SUCCESSFUL_COMPLETION: Self
The request succeeded.
Wire value 0x0000.
Sourcepub const ADDRESS_RESOLUTION_NAK: Self
pub const ADDRESS_RESOLUTION_NAK: Self
A BBMD refused an Address-Resolution sent to it: the sender is not one of its registered foreign devices, or the BBMD could not pass the request on (U.4.4).
Wire value 0x0030.
Sourcepub const VIRTUAL_ADDRESS_RESOLUTION_NAK: Self
pub const VIRTUAL_ADDRESS_RESOLUTION_NAK: Self
A Virtual-Address-Resolution failed.
Wire value 0x0060.
Sourcepub const REGISTER_FOREIGN_DEVICE_NAK: Self
pub const REGISTER_FOREIGN_DEVICE_NAK: Self
Register-Foreign-Device failed or is not supported.
Wire value 0x0090.
Sourcepub const DELETE_FOREIGN_DEVICE_TABLE_ENTRY_NAK: Self
pub const DELETE_FOREIGN_DEVICE_TABLE_ENTRY_NAK: Self
Delete-Foreign-Device-Table-Entry failed or is not supported.
Wire value 0x00A0.
Sourcepub const DISTRIBUTE_BROADCAST_TO_NETWORK_NAK: Self
pub const DISTRIBUTE_BROADCAST_TO_NETWORK_NAK: Self
Distribute-Broadcast-To-Network failed or is not supported.
Wire value 0x00C0.
Sourcepub const ALL_NAMED: &[(&str, Self)]
pub const ALL_NAMED: &[(&str, Self)]
Every named constant, with its name, in the order declared.
Sourcepub const fn name(self) -> Option<&'static str>
pub const fn name(self) -> Option<&'static str>
The constant’s name, or None for a value the standard
doesn’t define.
Sourcepub const fn is_defined(self) -> bool
pub const fn is_defined(self) -> bool
Whether the standard defines this value.
Trait Implementations§
Source§impl Clone for Bvlc6ResultCode
impl Clone for Bvlc6ResultCode
impl Copy for Bvlc6ResultCode
Source§impl Debug for Bvlc6ResultCode
Name::CONSTANT for a named value, Name(raw) otherwise.
impl Debug for Bvlc6ResultCode
Name::CONSTANT for a named value, Name(raw) otherwise.
Source§impl Display for Bvlc6ResultCode
The constant’s name, or the raw value in decimal.
impl Display for Bvlc6ResultCode
The constant’s name, or the raw value in decimal.