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 FromWire<WireRouterError> for RouterError
impl FromWire<WireRouterError> for RouterError
Source§fn from_wire(wire: WireRouterError) -> Self
fn from_wire(wire: WireRouterError) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireRouterError> for RouterError
impl FromWireRef<WireRouterError> for RouterError
Source§fn from_wire_ref(wire: &WireRouterError) -> Self
fn from_wire_ref(wire: &WireRouterError) -> Self
Converts the given
wire
reference to this type.Source§impl PartialEq for WireRouterError
impl PartialEq for WireRouterError
Source§impl Wire for WireRouterError
impl Wire for WireRouterError
Source§type Decoded<'de> = WireRouterError
type Decoded<'de> = WireRouterError
The decoded 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 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