pub enum Error<C, L> {
Overflow {
name: C,
control: C,
},
Short {
actual: L,
required: L,
},
MissingTruncation {
region: Region,
reported: L,
available: L,
},
}Variants§
Trait Implementations§
impl<C: Copy, L: Copy> Copy for Error<C, L>
impl<C: Eq, L: Eq> Eq for Error<C, L>
impl<C: PartialEq, L: PartialEq> StructuralPartialEq for Error<C, L>
Auto Trait Implementations§
impl<C, L> Freeze for Error<C, L>
impl<C, L> RefUnwindSafe for Error<C, L>where
C: RefUnwindSafe,
L: RefUnwindSafe,
impl<C, L> Send for Error<C, L>
impl<C, L> Sync for Error<C, L>
impl<C, L> Unpin for Error<C, L>
impl<C, L> UnsafeUnpin for Error<C, L>where
C: UnsafeUnpin,
L: UnsafeUnpin,
impl<C, L> UnwindSafe for Error<C, L>where
C: UnwindSafe,
L: 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