Enum libp2p_core::transport::memory::MemoryTransportError
source · [−]pub enum MemoryTransportError {
Unreachable,
AlreadyInUse,
}
Expand description
Error that can be produced from the MemoryTransport
.
Variants
Unreachable
There’s no listener on the given port.
AlreadyInUse
Tries to listen on a port that is already in use.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MemoryTransportError
impl Send for MemoryTransportError
impl Sync for MemoryTransportError
impl Unpin for MemoryTransportError
impl UnwindSafe for MemoryTransportError
Blanket Implementations
Mutably borrows from an owned value. Read more