pub struct FileSystemError {
pub kind: FileSystemErrorKind,
pub message: String,
}
Fields§
§kind: FileSystemErrorKind
§message: String
Implementations§
Source§impl FileSystemError
impl FileSystemError
pub fn new(kind: FileSystemErrorKind, message: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for FileSystemError
impl Clone for FileSystemError
Source§fn clone(&self) -> FileSystemError
fn clone(&self) -> FileSystemError
Returns a copy 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 FileSystemError
impl Debug for FileSystemError
Source§impl From<FileSystemError> for StreamError
impl From<FileSystemError> for StreamError
Source§fn from(fs_err: FileSystemError) -> Self
fn from(fs_err: FileSystemError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileSystemError
impl RefUnwindSafe for FileSystemError
impl Send for FileSystemError
impl Sync for FileSystemError
impl Unpin for FileSystemError
impl UnwindSafe for FileSystemError
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
)