pub struct FileIOError {
pub code: FileIOErrorCode,
pub message: String,
}Fields§
§code: FileIOErrorCode§message: StringImplementations§
Source§impl FileIOError
impl FileIOError
pub fn new(code: FileIOErrorCode, message: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for FileIOError
impl Clone for FileIOError
Source§impl Debug for FileIOError
impl Debug for FileIOError
Source§impl Display for FileIOError
impl Display for FileIOError
Source§impl Error for FileIOError
impl Error for FileIOError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<FileIOError> for FileError
impl From<FileIOError> for FileError
Source§fn from(error: FileIOError) -> Self
fn from(error: FileIOError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for FileIOError
impl Freeze for FileIOError
impl Move for FileIOError
impl RefUnwindSafe for FileIOError
impl Send for FileIOErrorwhere
RawVecInner: Send,
impl Sync for FileIOErrorwhere
RawVecInner: Sync,
impl Unpin for FileIOError
impl UnsafeUnpin for FileIOError
impl UnwindSafe for FileIOErrorwhere
RawVecInner: UnwindSafe,
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