pub enum TempestStrError {
InputContainsNullByte,
}Expand description
Error returned when constructing a TempestStr from invalid input.
Variants§
InputContainsNullByte
The input string contains a null byte (\x00), which is reserved
for use as a key component terminator in the lexical encoding scheme.
Trait Implementations§
Source§impl Debug for TempestStrError
impl Debug for TempestStrError
Source§impl Display for TempestStrError
impl Display for TempestStrError
Source§impl Error for TempestStrError
impl Error for TempestStrError
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()
Auto Trait Implementations§
impl Freeze for TempestStrError
impl RefUnwindSafe for TempestStrError
impl Send for TempestStrError
impl Sync for TempestStrError
impl Unpin for TempestStrError
impl UnsafeUnpin for TempestStrError
impl UnwindSafe for TempestStrError
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