pub enum SmbError {
Status(NtStatus),
ProtocolError,
NotConnected,
AuthError,
NoCredits,
TransportError,
InvalidArgument,
NotMounted,
}Expand description
SMB client error type.
Variants§
Status(NtStatus)
Server returned an NT status error.
ProtocolError
Protocol error (invalid magic, bad structure).
NotConnected
Not connected to server.
AuthError
Authentication failure.
NoCredits
No credits available.
TransportError
Network transport error.
InvalidArgument
Invalid argument.
NotMounted
Share not connected.
Trait Implementations§
impl Copy for SmbError
impl Eq for SmbError
impl StructuralPartialEq for SmbError
Auto Trait Implementations§
impl Freeze for SmbError
impl RefUnwindSafe for SmbError
impl Send for SmbError
impl Sync for SmbError
impl Unpin for SmbError
impl UnwindSafe for SmbError
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)