pub enum UFrameFieldsError {
Malformed(String),
ValueTooLong {
field: &'static str,
},
Metadata(UFrameMetadataError),
}Expand description
Errors returned by the frame metadata field block codec.
Variants§
Malformed(String)
The input bytes are not a well-formed field block.
ValueTooLong
A value does not fit its field block length field.
Metadata(UFrameMetadataError)
The (decoded or to-be-encoded) metadata violates frame invariants.
Trait Implementations§
Source§impl Clone for UFrameFieldsError
impl Clone for UFrameFieldsError
Source§fn clone(&self) -> UFrameFieldsError
fn clone(&self) -> UFrameFieldsError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UFrameFieldsError
impl Debug for UFrameFieldsError
Source§impl Display for UFrameFieldsError
impl Display for UFrameFieldsError
Source§impl Error for UFrameFieldsError
impl Error for UFrameFieldsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<UFrameMetadataError> for UFrameFieldsError
impl From<UFrameMetadataError> for UFrameFieldsError
Source§fn from(value: UFrameMetadataError) -> Self
fn from(value: UFrameMetadataError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UFrameFieldsError
impl PartialEq for UFrameFieldsError
impl Eq for UFrameFieldsError
impl StructuralPartialEq for UFrameFieldsError
Auto Trait Implementations§
impl Freeze for UFrameFieldsError
impl RefUnwindSafe for UFrameFieldsError
impl Send for UFrameFieldsError
impl Sync for UFrameFieldsError
impl Unpin for UFrameFieldsError
impl UnwindSafe for UFrameFieldsError
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<TCore> UWithNativePrefixWire for TCore
impl<TCore> UWithNativePrefixWire for TCore
Source§fn into_native_prefix_wire_transport<W>(
self,
wire: W,
) -> UWireTransport<TCore, W, NativePrefixFrameMetadataCodec>where
W: UWire,
fn into_native_prefix_wire_transport<W>(
self,
wire: W,
) -> UWireTransport<TCore, W, NativePrefixFrameMetadataCodec>where
W: UWire,
Wraps this core with an external or custom selected wire using canonical metadata.
Source§fn into_protobuf_transport(
self,
) -> UWireTransport<TCore, ProtobufWire, NativePrefixFrameMetadataCodec>
fn into_protobuf_transport( self, ) -> UWireTransport<TCore, ProtobufWire, NativePrefixFrameMetadataCodec>
Wraps this core with the Protocol Buffers selected-wire profile.
Source§fn into_stable_container_transport(
self,
) -> UWireTransport<TCore, StableContainerWireFormat, NativePrefixFrameMetadataCodec>
fn into_stable_container_transport( self, ) -> UWireTransport<TCore, StableContainerWireFormat, NativePrefixFrameMetadataCodec>
Wraps this core with the stable-container selected-wire profile.