#[repr(u16)]pub enum SmbDialect {
Smb2_0_2 = 514,
Smb2_1 = 528,
Smb3_0 = 768,
Smb3_0_2 = 770,
Smb3_1_1 = 785,
}Expand description
Supported SMB protocol dialects.
Variants§
Implementations§
Source§impl SmbDialect
impl SmbDialect
Sourcepub fn all() -> &'static [SmbDialect]
pub fn all() -> &'static [SmbDialect]
Get all supported dialects in preference order (highest first).
Trait Implementations§
Source§impl Clone for SmbDialect
impl Clone for SmbDialect
Source§fn clone(&self) -> SmbDialect
fn clone(&self) -> SmbDialect
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SmbDialect
impl Debug for SmbDialect
Source§impl Ord for SmbDialect
impl Ord for SmbDialect
Source§impl PartialEq for SmbDialect
impl PartialEq for SmbDialect
Source§impl PartialOrd for SmbDialect
impl PartialOrd for SmbDialect
Source§fn partial_cmp(&self, other: &SmbDialect) -> Option<Ordering>
fn partial_cmp(&self, other: &SmbDialect) -> Option<Ordering>
impl Copy for SmbDialect
impl Eq for SmbDialect
impl StructuralPartialEq for SmbDialect
Auto Trait Implementations§
impl Freeze for SmbDialect
impl RefUnwindSafe for SmbDialect
impl Send for SmbDialect
impl Sync for SmbDialect
impl Unpin for SmbDialect
impl UnwindSafe for SmbDialect
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)