pub enum InsertionError {
SyncInsertNotAvailable,
Str(&'static str),
String(String),
}
Variants§
Implementations§
Source§impl InsertionError
impl InsertionError
pub fn sync_insert_not_available() -> Self
Trait Implementations§
Source§impl Debug for InsertionError
impl Debug for InsertionError
Source§impl Display for InsertionError
impl Display for InsertionError
Source§impl Error for InsertionError
impl Error for InsertionError
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<&'static str> for InsertionError
impl From<&'static str> for InsertionError
Auto Trait Implementations§
impl Freeze for InsertionError
impl RefUnwindSafe for InsertionError
impl Send for InsertionError
impl Sync for InsertionError
impl Unpin for InsertionError
impl UnwindSafe for InsertionError
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