pub struct WireRouterError { /* private fields */ }
Expand description
The wire type corresponding to RouterError
.
Implementations§
Source§impl WireRouterError
impl WireRouterError
pub const NOT_FOUND: WireRouterError
pub const INVALID_ARGS: WireRouterError
pub const NOT_SUPPORTED: WireRouterError
pub const INTERNAL: WireRouterError
Trait Implementations§
Source§impl Clone for WireRouterError
impl Clone for WireRouterError
Source§fn clone(&self) -> WireRouterError
fn clone(&self) -> WireRouterError
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 WireRouterError
impl Debug for WireRouterError
Source§impl<___D> Decode<___D> for WireRouterErrorwhere
___D: ?Sized,
impl<___D> Decode<___D> for WireRouterErrorwhere
___D: ?Sized,
Source§impl From<RouterError> for WireRouterError
impl From<RouterError> for WireRouterError
Source§fn from(natural: RouterError) -> Self
fn from(natural: RouterError) -> Self
Converts to this type from the input type.
Source§impl From<WireRouterError> for RouterError
impl From<WireRouterError> for RouterError
Source§fn from(wire: WireRouterError) -> Self
fn from(wire: WireRouterError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireRouterError
impl PartialEq for WireRouterError
Source§impl TakeFrom<WireRouterError> for RouterError
impl TakeFrom<WireRouterError> for RouterError
Source§fn take_from(from: &WireRouterError) -> Self
fn take_from(from: &WireRouterError) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireRouterError> for RouterError
impl TakeFrom<WireRouterError> for RouterError
Source§fn take_from(from: &WireRouterError) -> Self
fn take_from(from: &WireRouterError) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireRouterError
impl ZeroPadding for WireRouterError
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 WireRouterError
impl Eq for WireRouterError
impl StructuralPartialEq for WireRouterError
Auto Trait Implementations§
impl Freeze for WireRouterError
impl RefUnwindSafe for WireRouterError
impl Send for WireRouterError
impl Sync for WireRouterError
impl Unpin for WireRouterError
impl UnwindSafe for WireRouterError
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