pub enum FixtureBodyError {
TooLarge,
OutputTooSmall,
}Expand description
Fixture body construction or write error.
Variants§
TooLarge
The represented body exceeds MAX_FIXTURE_BODY_BYTES.
OutputTooSmall
The caller-owned destination is smaller than the represented body.
Trait Implementations§
Source§impl Clone for FixtureBodyError
impl Clone for FixtureBodyError
Source§fn clone(&self) -> FixtureBodyError
fn clone(&self) -> FixtureBodyError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FixtureBodyError
Source§impl Debug for FixtureBodyError
impl Debug for FixtureBodyError
Source§impl Display for FixtureBodyError
impl Display for FixtureBodyError
impl Eq for FixtureBodyError
Source§impl Error for FixtureBodyError
impl Error for FixtureBodyError
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 PartialEq for FixtureBodyError
impl PartialEq for FixtureBodyError
impl StructuralPartialEq for FixtureBodyError
Auto Trait Implementations§
impl Freeze for FixtureBodyError
impl RefUnwindSafe for FixtureBodyError
impl Send for FixtureBodyError
impl Sync for FixtureBodyError
impl Unpin for FixtureBodyError
impl UnsafeUnpin for FixtureBodyError
impl UnwindSafe for FixtureBodyError
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