Enum network::peer_manager::ConnectionRequest [−][src]
pub enum ConnectionRequest {
DialPeer(PeerId, NetworkAddress, Sender<Result<(), PeerManagerError>>),
DisconnectPeer(PeerId, Sender<Result<(), PeerManagerError>>),
}Variants
DialPeer(PeerId, NetworkAddress, Sender<Result<(), PeerManagerError>>)Tuple Fields of DialPeer
DisconnectPeer(PeerId, Sender<Result<(), PeerManagerError>>)Tuple Fields of DisconnectPeer
0: PeerId1: Sender<Result<(), PeerManagerError>>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ConnectionRequest
impl Send for ConnectionRequest
impl Sync for ConnectionRequest
impl Unpin for ConnectionRequest
impl !UnwindSafe for ConnectionRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.