pub enum StrRefError {
IndexOverflow(u32),
}Expand description
Error returned when converting a value into StrRef fails.
Variants§
Trait Implementations§
Source§impl Clone for StrRefError
impl Clone for StrRefError
Source§fn clone(&self) -> StrRefError
fn clone(&self) -> StrRefError
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 StrRefError
impl Debug for StrRefError
Source§impl Display for StrRefError
impl Display for StrRefError
Source§impl Error for StrRefError
impl Error for StrRefError
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 PartialEq for StrRefError
impl PartialEq for StrRefError
impl Eq for StrRefError
impl StructuralPartialEq for StrRefError
Auto Trait Implementations§
impl Freeze for StrRefError
impl RefUnwindSafe for StrRefError
impl Send for StrRefError
impl Sync for StrRefError
impl Unpin for StrRefError
impl UnwindSafe for StrRefError
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