pub struct CRStrError;Expand description
Error encountered while constructing a CRStr (the string was not
null-terminated, or was invalid UTF-8).
Trait Implementations§
Source§impl Clone for CRStrError
impl Clone for CRStrError
Source§fn clone(&self) -> CRStrError
fn clone(&self) -> CRStrError
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 CRStrError
impl Debug for CRStrError
Source§impl Display for CRStrError
impl Display for CRStrError
Source§impl Error for CRStrError
impl Error for CRStrError
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 Hash for CRStrError
impl Hash for CRStrError
Source§impl PartialEq for CRStrError
impl PartialEq for CRStrError
impl Copy for CRStrError
impl Eq for CRStrError
impl StructuralPartialEq for CRStrError
Auto Trait Implementations§
impl Freeze for CRStrError
impl RefUnwindSafe for CRStrError
impl Send for CRStrError
impl Sync for CRStrError
impl Unpin for CRStrError
impl UnwindSafe for CRStrError
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