pub enum Protocols {
Tcp,
Udp,
Any,
}
Variants
Tcp
Udp
Any
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Protocols
impl Send for Protocols
impl Sync for Protocols
impl Unpin for Protocols
impl UnwindSafe for Protocols
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more