pub struct AiidError(pub String);Expand description
A simple struct(String) for reporting aiid errors
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Error for AiidError
impl Error for AiidError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DecoderError> for AiidError
impl From<DecoderError> for AiidError
Source§fn from(error: DecoderError) -> Self
fn from(error: DecoderError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for AiidError
impl From<ParseIntError> for AiidError
Source§fn from(error: ParseIntError) -> Self
fn from(error: ParseIntError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for AiidError
Auto Trait Implementations§
impl Freeze for AiidError
impl RefUnwindSafe for AiidError
impl Send for AiidError
impl Sync for AiidError
impl Unpin for AiidError
impl UnwindSafe for AiidError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)