pub struct FrameworkError { /* private fields */ }Expand description
An internal framework error.
Trait Implementations§
Source§impl Clone for FrameworkError
impl Clone for FrameworkError
Source§fn clone(&self) -> FrameworkError
fn clone(&self) -> FrameworkError
Returns a duplicate 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 Constrained for FrameworkError
impl Constrained for FrameworkError
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, Self>,
_: Self::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, Self>, _: Self::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl Debug for FrameworkError
impl Debug for FrameworkError
Source§impl<D: ?Sized> Decode<D> for FrameworkError
impl<D: ?Sized> Decode<D> for FrameworkError
Source§impl<E: ?Sized> Encode<FrameworkError, E> for &FrameworkError
impl<E: ?Sized> Encode<FrameworkError, E> for &FrameworkError
Source§fn encode(
self,
encoder: &mut E,
out: &mut MaybeUninit<FrameworkError>,
constraint: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<FrameworkError>, constraint: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<E: ?Sized> Encode<FrameworkError, E> for FrameworkError
impl<E: ?Sized> Encode<FrameworkError, E> for FrameworkError
Source§fn encode(
self,
_: &mut E,
out: &mut MaybeUninit<FrameworkError>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, _: &mut E, out: &mut MaybeUninit<FrameworkError>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<FrameworkError> for FrameworkError
impl From<FrameworkError> for FrameworkError
Source§fn from(value: FrameworkError) -> Self
fn from(value: FrameworkError) -> Self
Converts to this type from the input type.
Source§impl FromWire<FrameworkError> for FrameworkError
impl FromWire<FrameworkError> for FrameworkError
Source§fn from_wire(wire: FrameworkError) -> Self
fn from_wire(wire: FrameworkError) -> Self
Converts the given owned value to this type.
Source§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<FrameworkError> for FrameworkError
impl FromWireRef<FrameworkError> for FrameworkError
Source§fn from_wire_ref(wire: &FrameworkError) -> Self
fn from_wire_ref(wire: &FrameworkError) -> Self
Converts the given reference to this type.
Source§impl IntoNatural for FrameworkError
impl IntoNatural for FrameworkError
Source§type Natural = FrameworkError
type Natural = FrameworkError
A good default type for this wire type to convert into.
Source§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for FrameworkError
impl Wire for FrameworkError
Source§type Narrowed<'de> = FrameworkError
type Narrowed<'de> = FrameworkError
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for FrameworkError
Auto Trait Implementations§
impl Freeze for FrameworkError
impl RefUnwindSafe for FrameworkError
impl Send for FrameworkError
impl Sync for FrameworkError
impl Unpin for FrameworkError
impl UnsafeUnpin for FrameworkError
impl UnwindSafe for FrameworkError
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
Mutably borrows from an owned value. Read more