Enum libp2p::request_response::handler::ProtocolSupport [−][src]
pub enum ProtocolSupport {
Inbound,
Outbound,
Full,
}Expand description
The level of support for a particular protocol.
Variants
The protocol is only supported for inbound requests.
The protocol is only supported for outbound requests.
The protocol is supported for inbound and outbound requests.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProtocolSupportimpl Send for ProtocolSupportimpl Sync for ProtocolSupportimpl Unpin for ProtocolSupportimpl UnwindSafe for ProtocolSupportBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V