pub enum Smbversion {
_20,
_21,
_3,
_30,
_311,
Default,
}Expand description
SMB protocol version. ‘default’ if not set, negotiates the highest SMB2+ version supported by both the client and server.
Variants§
Trait Implementations§
Source§impl Clone for Smbversion
impl Clone for Smbversion
Source§fn clone(&self) -> Smbversion
fn clone(&self) -> Smbversion
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 Smbversion
impl Debug for Smbversion
Source§impl Default for Smbversion
impl Default for Smbversion
Source§fn default() -> Smbversion
fn default() -> Smbversion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Smbversion
impl<'de> Deserialize<'de> for Smbversion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Smbversion
impl PartialEq for Smbversion
Source§fn eq(&self, other: &Smbversion) -> bool
fn eq(&self, other: &Smbversion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Smbversion
impl Serialize for Smbversion
impl StructuralPartialEq for Smbversion
Auto Trait Implementations§
impl Freeze for Smbversion
impl RefUnwindSafe for Smbversion
impl Send for Smbversion
impl Sync for Smbversion
impl Unpin for Smbversion
impl UnsafeUnpin for Smbversion
impl UnwindSafe for Smbversion
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