pub enum FragError {
Session,
Storage,
Memory,
Fragment,
}Expand description
Why a fragmentation session could not be put back together.
Variants§
Session
The session parameters do not describe a session this build can run.
Storage
The caller’s storage is too small for the session it was given.
Memory
More uncoded fragments were lost than the caller left room to solve for.
Fragment
A fragment’s number is outside the session.
Trait Implementations§
impl Copy for FragError
impl Eq for FragError
Source§impl Error for FragError
impl Error for FragError
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()
impl StructuralPartialEq for FragError
Auto Trait Implementations§
impl Freeze for FragError
impl RefUnwindSafe for FragError
impl Send for FragError
impl Sync for FragError
impl Unpin for FragError
impl UnsafeUnpin for FragError
impl UnwindSafe for FragError
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