pub enum FileInfoCreationError {
InsufficientStorage(usize),
}
Expand description
Errors that can occur when creating a FileProtocolInfo
Variants§
InsufficientStorage(usize)
The provided buffer was too small to hold the FileInfo
. You need at
least the indicated buffer size (in bytes). Please remember that using
a misaligned buffer will cause a decrease of usable storage capacity.
Trait Implementations§
source§impl Clone for FileInfoCreationError
impl Clone for FileInfoCreationError
source§fn clone(&self) -> FileInfoCreationError
fn clone(&self) -> FileInfoCreationError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FileInfoCreationError
impl Debug for FileInfoCreationError
source§impl Display for FileInfoCreationError
impl Display for FileInfoCreationError
source§impl Error for FileInfoCreationError
Available on crate feature unstable
only.
impl Error for FileInfoCreationError
Available on crate feature
unstable
only.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()
source§impl PartialEq for FileInfoCreationError
impl PartialEq for FileInfoCreationError
source§fn eq(&self, other: &FileInfoCreationError) -> bool
fn eq(&self, other: &FileInfoCreationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FileInfoCreationError
impl Eq for FileInfoCreationError
impl StructuralPartialEq for FileInfoCreationError
Auto Trait Implementations§
impl Freeze for FileInfoCreationError
impl RefUnwindSafe for FileInfoCreationError
impl Send for FileInfoCreationError
impl Sync for FileInfoCreationError
impl Unpin for FileInfoCreationError
impl UnwindSafe for FileInfoCreationError
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