Struct libp2p::swarm::ConnectionDenied
source · pub struct ConnectionDenied { /* private fields */ }
Expand description
A connection was denied.
To figure out which NetworkBehaviour
denied the connection, use ConnectionDenied::downcast
.
Implementations§
source§impl ConnectionDenied
impl ConnectionDenied
Trait Implementations§
source§impl Debug for ConnectionDenied
impl Debug for ConnectionDenied
source§impl Display for ConnectionDenied
impl Display for ConnectionDenied
source§impl Error for ConnectionDenied
impl Error for ConnectionDenied
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectionDenied
impl Send for ConnectionDenied
impl Sync for ConnectionDenied
impl Unpin for ConnectionDenied
impl !UnwindSafe for ConnectionDenied
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