pub enum ProtocolLevel {
V311 = 4,
V5 = 5,
}Variants§
Trait Implementations§
Source§impl Clone for ProtocolLevel
impl Clone for ProtocolLevel
Source§fn clone(&self) -> ProtocolLevel
fn clone(&self) -> ProtocolLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProtocolLevel
impl Debug for ProtocolLevel
Source§impl PartialEq for ProtocolLevel
impl PartialEq for ProtocolLevel
Source§fn eq(&self, other: &ProtocolLevel) -> bool
fn eq(&self, other: &ProtocolLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProtocolLevel
impl Eq for ProtocolLevel
impl StructuralPartialEq for ProtocolLevel
Auto Trait Implementations§
impl Freeze for ProtocolLevel
impl RefUnwindSafe for ProtocolLevel
impl Send for ProtocolLevel
impl Sync for ProtocolLevel
impl Unpin for ProtocolLevel
impl UnsafeUnpin for ProtocolLevel
impl UnwindSafe for ProtocolLevel
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