pub enum UFrameAbiError {
CapacityExceeded {
field: &'static str,
},
InvalidProfile(String),
Metadata(UFrameMetadataError),
}Expand description
Errors returned by ABI profile conversions.
Variants§
CapacityExceeded
A value exceeds a fixed capacity of this profile.
InvalidProfile(String)
The struct is not a structurally valid profile v1 value.
Metadata(UFrameMetadataError)
The metadata violates frame invariants.
Trait Implementations§
Source§impl Clone for UFrameAbiError
impl Clone for UFrameAbiError
Source§fn clone(&self) -> UFrameAbiError
fn clone(&self) -> UFrameAbiError
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 UFrameAbiError
impl Debug for UFrameAbiError
Source§impl Display for UFrameAbiError
impl Display for UFrameAbiError
Source§impl Error for UFrameAbiError
impl Error for UFrameAbiError
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 UFrameAbiError
impl From<UFrameMetadataError> for UFrameAbiError
Source§fn from(value: UFrameMetadataError) -> Self
fn from(value: UFrameMetadataError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UFrameAbiError
impl PartialEq for UFrameAbiError
impl Eq for UFrameAbiError
impl StructuralPartialEq for UFrameAbiError
Auto Trait Implementations§
impl Freeze for UFrameAbiError
impl RefUnwindSafe for UFrameAbiError
impl Send for UFrameAbiError
impl Sync for UFrameAbiError
impl Unpin for UFrameAbiError
impl UnwindSafe for UFrameAbiError
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.