pub struct LengthError {
pub min: usize,
pub max: usize,
pub len: usize,
}
Fields§
§min: usize
§max: usize
§len: usize
Trait Implementations§
Source§impl From<LengthError> for ErrorType
impl From<LengthError> for ErrorType
Source§fn from(value: LengthError) -> Self
fn from(value: LengthError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LengthError
impl RefUnwindSafe for LengthError
impl Send for LengthError
impl Sync for LengthError
impl Unpin for LengthError
impl UnwindSafe for LengthError
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