pub enum Error {
DecodeMessage(Error),
EncodeMessage(Error),
EndpointSetup(Error),
FlushMessage(Error),
InvalidCString(FromBytesWithNulError),
InvalidHeaderLength,
InvalidXattrSize(u32, usize),
MissingParameter,
ThreadExited,
TooManyIovecs(usize, usize),
}
Expand description
Errors that may occur during the creation or operation of an Fs device.
Variants§
DecodeMessage(Error)
A request is missing readable descriptors. Failed to decode protocol messages.
EncodeMessage(Error)
Failed to encode protocol messages.
EndpointSetup(Error)
Failed to set up FUSE endpoint to talk with.
FlushMessage(Error)
Failed to flush protocol messages.
InvalidCString(FromBytesWithNulError)
A C string parameter is invalid.
InvalidHeaderLength
The len
field of the header is too small.
InvalidXattrSize(u32, usize)
The size
field of the SetxattrIn
message does not match the length
of the decoded value.
MissingParameter
One or more parameters are missing.
ThreadExited
Thread exited
TooManyIovecs(usize, usize)
Requested too many iovec
s for an ioctl
retry.
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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