pub struct InvalidValue(pub char);Expand description
The supplied value contains invalid characters.
Valid characters are WSP / %x21-7E / NON-US-ASCII.
Tuple Fields§
§0: charTrait Implementations§
Source§impl Debug for InvalidValue
impl Debug for InvalidValue
Source§impl Display for InvalidValue
impl Display for InvalidValue
Source§impl Error for InvalidValue
impl Error for InvalidValue
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<InvalidValue> for Error
impl From<InvalidValue> for Error
Source§fn from(err: InvalidValue) -> Error
fn from(err: InvalidValue) -> Error
Converts to this type from the input type.
Source§impl PartialEq for InvalidValue
impl PartialEq for InvalidValue
impl StructuralPartialEq for InvalidValue
Auto Trait Implementations§
impl Freeze for InvalidValue
impl RefUnwindSafe for InvalidValue
impl Send for InvalidValue
impl Sync for InvalidValue
impl Unpin for InvalidValue
impl UnsafeUnpin for InvalidValue
impl UnwindSafe for InvalidValue
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