#[repr(i32)]pub enum ChassisIdSubtype {
ChassisComponent = 1,
InterfaceAlias = 2,
PortComponent = 3,
MacAddress = 4,
NetworkAddress = 5,
InterfaceName = 6,
Local = 7,
}Expand description
https://reference.opcfoundation.org/v105/Core/docs/Part22/5.3.1/#5.3.1.9
Variants§
ChassisComponent = 1
Represents a chassis identifier based on the value of entPhysicalAlias object (defined in IETF RFC 2737) for a chassis component (i.e., an entPhysicalClass value of chassis(3))
InterfaceAlias = 2
Represents a chassis identifier based on the value of ifAlias object (defined in IETF RFC 2863) for an interface on the containing chassis.
PortComponent = 3
Represents a chassis identifier based on the value of entPhysicalAlias object (defined in IETF RFC 2737) for a port or backplane component (i.e., entPhysicalClass has a value of port(10), or backplane(4)), within the containing chassis.
MacAddress = 4
Represents a chassis identifier based on the value of a unicast source address (encoded in network byte order and IEEE 802.3 canonical bit order) of a port on the containing chassis as defined in IEEE Std 802-2014.
NetworkAddress = 5
Represents a chassis identifier based on a network address associated with a particular chassis. The encoded address is actually composed of two fields. The first field is a single octet, representing the IANA AddressFamilyNumbers value for the specific address type, and the second field is the network address value.
InterfaceName = 6
Represents a chassis identifier based on the value of ifName object (defined in IETF RFC 2863) for an interface on the containing chassis.
Local = 7
Represents a chassis identifier based on a locally defined value.
Trait Implementations§
Source§impl BinaryDecodable for ChassisIdSubtype
impl BinaryDecodable for ChassisIdSubtype
Source§fn decode<S: Read + ?Sized>(
stream: &mut S,
ctx: &Context<'_>,
) -> EncodingResult<Self>
fn decode<S: Read + ?Sized>( stream: &mut S, ctx: &Context<'_>, ) -> EncodingResult<Self>
BadDecodingError as soon as possible.Source§impl BinaryEncodable for ChassisIdSubtype
impl BinaryEncodable for ChassisIdSubtype
Source§fn byte_len(&self, ctx: &Context<'_>) -> usize
fn byte_len(&self, ctx: &Context<'_>) -> usize
encode were called.
This may be called prior to writing to ensure the correct amount of space is available.Source§fn encode<S: Write + ?Sized>(
&self,
stream: &mut S,
ctx: &Context<'_>,
) -> EncodingResult<()>
fn encode<S: Write + ?Sized>( &self, stream: &mut S, ctx: &Context<'_>, ) -> EncodingResult<()>
Source§fn override_encoding(&self) -> Option<BuiltInDataEncoding>
fn override_encoding(&self) -> Option<BuiltInDataEncoding>
Source§impl Clone for ChassisIdSubtype
impl Clone for ChassisIdSubtype
Source§fn clone(&self) -> ChassisIdSubtype
fn clone(&self) -> ChassisIdSubtype
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChassisIdSubtype
impl Debug for ChassisIdSubtype
Source§impl From<ChassisIdSubtype> for i32
impl From<ChassisIdSubtype> for i32
Source§fn from(value: ChassisIdSubtype) -> i32
fn from(value: ChassisIdSubtype) -> i32
Source§impl IntoVariant for ChassisIdSubtype
impl IntoVariant for ChassisIdSubtype
Source§fn into_variant(self) -> Variant
fn into_variant(self) -> Variant
Source§impl JsonDecodable for ChassisIdSubtype
impl JsonDecodable for ChassisIdSubtype
Source§fn decode(
stream: &mut JsonStreamReader<&mut dyn Read>,
ctx: &Context<'_>,
) -> EncodingResult<Self>
fn decode( stream: &mut JsonStreamReader<&mut dyn Read>, ctx: &Context<'_>, ) -> EncodingResult<Self>
Source§impl JsonEncodable for ChassisIdSubtype
impl JsonEncodable for ChassisIdSubtype
Source§fn encode(
&self,
stream: &mut JsonStreamWriter<&mut dyn Write>,
ctx: &Context<'_>,
) -> EncodingResult<()>
fn encode( &self, stream: &mut JsonStreamWriter<&mut dyn Write>, ctx: &Context<'_>, ) -> EncodingResult<()>
Source§impl PartialEq for ChassisIdSubtype
impl PartialEq for ChassisIdSubtype
Source§impl TryFrom<i32> for ChassisIdSubtype
impl TryFrom<i32> for ChassisIdSubtype
Source§impl UaEnum for ChassisIdSubtype
impl UaEnum for ChassisIdSubtype
Source§impl UaNullable for ChassisIdSubtype
impl UaNullable for ChassisIdSubtype
Source§fn is_ua_null(&self) -> bool
fn is_ua_null(&self) -> bool
Source§impl XmlDecodable for ChassisIdSubtype
impl XmlDecodable for ChassisIdSubtype
Source§fn decode(
stream: &mut XmlStreamReader<&mut dyn Read>,
ctx: &Context<'_>,
) -> EncodingResult<Self>
fn decode( stream: &mut XmlStreamReader<&mut dyn Read>, ctx: &Context<'_>, ) -> EncodingResult<Self>
Source§impl XmlEncodable for ChassisIdSubtype
impl XmlEncodable for ChassisIdSubtype
Source§fn encode(
&self,
stream: &mut XmlStreamWriter<&mut dyn Write>,
_ctx: &Context<'_>,
) -> EncodingResult<()>
fn encode( &self, stream: &mut XmlStreamWriter<&mut dyn Write>, _ctx: &Context<'_>, ) -> EncodingResult<()>
Source§impl XmlType for ChassisIdSubtype
impl XmlType for ChassisIdSubtype
impl Copy for ChassisIdSubtype
impl Eq for ChassisIdSubtype
impl StructuralPartialEq for ChassisIdSubtype
Auto Trait Implementations§
impl Freeze for ChassisIdSubtype
impl RefUnwindSafe for ChassisIdSubtype
impl Send for ChassisIdSubtype
impl Sync for ChassisIdSubtype
impl Unpin for ChassisIdSubtype
impl UnsafeUnpin for ChassisIdSubtype
impl UnwindSafe for ChassisIdSubtype
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.