Enum ockam_node::RouterReason
source · pub enum RouterReason {
Duplicate,
InvalidAddrType,
EmptyAddressSet,
}
Expand description
Reasons why adding an external router has failed
Variants§
Duplicate
A duplicate router was registered
InvalidAddrType
The provided router address type is not valid
EmptyAddressSet
Empty Address Set
Trait Implementations§
source§impl Clone for RouterReason
impl Clone for RouterReason
source§fn clone(&self) -> RouterReason
fn clone(&self) -> RouterReason
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 RouterReason
impl Debug for RouterReason
source§impl Display for RouterReason
impl Display for RouterReason
impl Copy for RouterReason
Auto Trait Implementations§
impl RefUnwindSafe for RouterReason
impl Send for RouterReason
impl Sync for RouterReason
impl Unpin for RouterReason
impl UnwindSafe for RouterReason
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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