pub enum WidthError {
    Invalid(ScalarKind, Bytes),
    MissingCapability {
        name: &'static str,
        flag: &'static str,
    },
    Abstract,
}Variants§
Trait Implementations§
Source§impl Clone for WidthError
 
impl Clone for WidthError
Source§fn clone(&self) -> WidthError
 
fn clone(&self) -> WidthError
Returns a duplicate 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 WidthError
 
impl Debug for WidthError
Source§impl Display for WidthError
 
impl Display for WidthError
Source§impl Error for WidthError
 
impl Error for WidthError
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 From<WidthError> for ConstExpressionError
 
impl From<WidthError> for ConstExpressionError
Source§fn from(source: WidthError) -> Self
 
fn from(source: WidthError) -> Self
Converts to this type from the input type.
Source§impl From<WidthError> for LiteralError
 
impl From<WidthError> for LiteralError
Source§fn from(source: WidthError) -> Self
 
fn from(source: WidthError) -> Self
Converts to this type from the input type.
Source§impl From<WidthError> for TypeError
 
impl From<WidthError> for TypeError
Source§fn from(source: WidthError) -> Self
 
fn from(source: WidthError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WidthError
impl RefUnwindSafe for WidthError
impl Send for WidthError
impl Sync for WidthError
impl Unpin for WidthError
impl UnwindSafe for WidthError
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