pub enum ProtocolSupport {
Inbound,
Outbound,
Full,
}
Expand description
The level of support for a particular protocol.
Variants§
Inbound
The protocol is only supported for inbound requests.
Outbound
The protocol is only supported for outbound requests.
Full
The protocol is supported for inbound and outbound requests.
Implementations§
Trait Implementations§
source§impl Clone for ProtocolSupport
impl Clone for ProtocolSupport
source§fn clone(&self) -> ProtocolSupport
fn clone(&self) -> ProtocolSupport
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ProtocolSupport
impl Send for ProtocolSupport
impl Sync for ProtocolSupport
impl Unpin for ProtocolSupport
impl UnwindSafe for ProtocolSupport
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