#[repr(i32)]pub enum TsnFailureCode {
Show 26 variants
NoFailure = 0,
InsufficientBandwidth = 1,
InsufficientResources = 2,
InsufficientTrafficClassBandwidth = 3,
StreamIdInUse = 4,
StreamDestinationAddressInUse = 5,
StreamPreemptedByHigherRank = 6,
LatencyHasChanged = 7,
EgressPortNotAvbCapable = 8,
UseDifferentDestinationAddress = 9,
OutOfMsrpResources = 10,
OutOfMmrpResources = 11,
CannotStoreDestinationAddress = 12,
PriorityIsNotAnSrcClass = 13,
MaxFrameSizeTooLarge = 14,
MaxFanInPortsLimitReached = 15,
FirstValueChangedForStreamId = 16,
VlanBlockedOnEgress = 17,
VlanTaggingDisabledOnEgress = 18,
SrClassPriorityMismatch = 19,
FeatureNotPropagated = 20,
MaxLatencyExceeded = 21,
BridgeDoesNotProvideNetworkId = 22,
StreamTransformNotSupported = 23,
StreamIdTypeNotSupported = 24,
FeatureNotSupported = 25,
}Expand description
https://reference.opcfoundation.org/v105/Core/docs/Part22/5.3.1/#5.3.1.5
Variants§
NoFailure = 0
No failure
InsufficientBandwidth = 1
Insufficient bandwidth
InsufficientResources = 2
Insufficient bridge resources
InsufficientTrafficClassBandwidth = 3
Insufficient bandwidth for Traffic Class
StreamIdInUse = 4
StreamID in use by another Talker
StreamDestinationAddressInUse = 5
Stream destination address already in use
StreamPreemptedByHigherRank = 6
Stream pre-empted by higher rank
LatencyHasChanged = 7
Reported latency has changed
EgressPortNotAvbCapable = 8
Egress port is not AVBCapable
UseDifferentDestinationAddress = 9
Use a different destination address
OutOfMsrpResources = 10
Out of MSRP resources
OutOfMmrpResources = 11
Out of MMRP resources
CannotStoreDestinationAddress = 12
Cannot store destination address
PriorityIsNotAnSrcClass = 13
Requested priority is not an SR Class priority
MaxFrameSizeTooLarge = 14
MaxFrameSize is too large for media
MaxFanInPortsLimitReached = 15
MaxFanInPorts limit has been reached
FirstValueChangedForStreamId = 16
Changes in FirstValue for a registered StreamID
VlanBlockedOnEgress = 17
VLAN is blocked on this egress port (Registration Forbidden)
VlanTaggingDisabledOnEgress = 18
VLAN tagging is disabled on this egress port (untagged set)
SrClassPriorityMismatch = 19
SR class priority mismatch
FeatureNotPropagated = 20
Enhanced feature cannot be propagated to original Port
MaxLatencyExceeded = 21
MaxLatency exceeded
BridgeDoesNotProvideNetworkId = 22
Nearest Bridge cannot provide network identification for stream transformation
StreamTransformNotSupported = 23
Stream transformation not supported
StreamIdTypeNotSupported = 24
Stream identification type not supported for stream transformation
FeatureNotSupported = 25
Enhanced feature cannot be supported without a CNC
Trait Implementations§
Source§impl BinaryDecodable for TsnFailureCode
impl BinaryDecodable for TsnFailureCode
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 TsnFailureCode
impl BinaryEncodable for TsnFailureCode
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 TsnFailureCode
impl Clone for TsnFailureCode
Source§fn clone(&self) -> TsnFailureCode
fn clone(&self) -> TsnFailureCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TsnFailureCode
impl Debug for TsnFailureCode
Source§impl Default for TsnFailureCode
impl Default for TsnFailureCode
Source§impl From<TsnFailureCode> for i32
impl From<TsnFailureCode> for i32
Source§fn from(value: TsnFailureCode) -> i32
fn from(value: TsnFailureCode) -> i32
Source§impl IntoVariant for TsnFailureCode
impl IntoVariant for TsnFailureCode
Source§fn into_variant(self) -> Variant
fn into_variant(self) -> Variant
Source§impl JsonDecodable for TsnFailureCode
impl JsonDecodable for TsnFailureCode
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 TsnFailureCode
impl JsonEncodable for TsnFailureCode
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 TsnFailureCode
impl PartialEq for TsnFailureCode
Source§impl TryFrom<i32> for TsnFailureCode
impl TryFrom<i32> for TsnFailureCode
Source§impl UaEnum for TsnFailureCode
impl UaEnum for TsnFailureCode
Source§impl UaNullable for TsnFailureCode
impl UaNullable for TsnFailureCode
Source§fn is_ua_null(&self) -> bool
fn is_ua_null(&self) -> bool
Source§impl XmlDecodable for TsnFailureCode
impl XmlDecodable for TsnFailureCode
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 TsnFailureCode
impl XmlEncodable for TsnFailureCode
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 TsnFailureCode
impl XmlType for TsnFailureCode
impl Copy for TsnFailureCode
impl Eq for TsnFailureCode
impl StructuralPartialEq for TsnFailureCode
Auto Trait Implementations§
impl Freeze for TsnFailureCode
impl RefUnwindSafe for TsnFailureCode
impl Send for TsnFailureCode
impl Sync for TsnFailureCode
impl Unpin for TsnFailureCode
impl UnwindSafe for TsnFailureCode
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.