#[repr(i32)]pub enum FrameworkError {
UnknownMethod = -2,
}
Expand description
An internal framework error.
Variants§
UnknownMethod = -2
The protocol method was not recognized by the receiver.
Trait Implementations§
Source§impl Clone for FrameworkError
impl Clone for FrameworkError
Source§fn clone(&self) -> FrameworkError
fn clone(&self) -> FrameworkError
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 FrameworkError
impl Debug for FrameworkError
Source§impl Encodable for FrameworkError
impl Encodable for FrameworkError
Source§type Encoded = WireFrameworkError
type Encoded = WireFrameworkError
The wire type for the value.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§impl<E: ?Sized> Encode<E> for FrameworkError
impl<E: ?Sized> Encode<E> for FrameworkError
Source§fn encode(
self,
encoder: &mut E,
out: &mut MaybeUninit<Self::Encoded>,
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<Self::Encoded>, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<E: ?Sized> EncodeRef<E> for FrameworkError
impl<E: ?Sized> EncodeRef<E> for FrameworkError
Source§fn encode_ref(
&self,
_: &mut E,
out: &mut MaybeUninit<Self::Encoded>,
) -> Result<(), EncodeError>
fn encode_ref( &self, _: &mut E, out: &mut MaybeUninit<Self::Encoded>, ) -> Result<(), EncodeError>
Encodes this reference into an encoder and output.
Source§impl From<WireFrameworkError> for FrameworkError
impl From<WireFrameworkError> for FrameworkError
Source§fn from(value: WireFrameworkError) -> Self
fn from(value: WireFrameworkError) -> Self
Converts to this type from the input type.
Source§impl FromWire<WireFrameworkError> for FrameworkError
impl FromWire<WireFrameworkError> for FrameworkError
Source§fn from_wire(wire: WireFrameworkError) -> Self
fn from_wire(wire: WireFrameworkError) -> Self
Converts the given
wire
to this type.Source§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireFrameworkError> for FrameworkError
impl FromWireRef<WireFrameworkError> for FrameworkError
Source§fn from_wire_ref(wire: &WireFrameworkError) -> Self
fn from_wire_ref(wire: &WireFrameworkError) -> Self
Converts the given
wire
reference to this type.Source§impl PartialEq for FrameworkError
impl PartialEq for FrameworkError
impl Copy for FrameworkError
impl Eq for FrameworkError
impl StructuralPartialEq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
Source§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.Source§impl<T, W> FromWireOptionRef<WireBox<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<WireBox<'_, W>> for Twhere
T: FromWireRef<W>,
Source§fn from_wire_option_ref(wire: &WireBox<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &WireBox<'_, W>) -> Option<T>
Converts the given
wire
reference to an option of this type.