Enum staart::StaartError
source · pub enum StaartError {
IO(Error),
Utf8(Utf8Error),
IntError(TryFromIntError),
}
Expand description
Errors for staart
Variants§
Trait Implementations§
source§impl Debug for StaartError
impl Debug for StaartError
source§impl Display for StaartError
impl Display for StaartError
source§impl Error for StaartError
impl Error for StaartError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for StaartError
impl From<Error> for StaartError
source§impl From<TryFromIntError> for StaartError
impl From<TryFromIntError> for StaartError
source§fn from(err: TryFromIntError) -> Self
fn from(err: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StaartError
impl !RefUnwindSafe for StaartError
impl Send for StaartError
impl Sync for StaartError
impl Unpin for StaartError
impl !UnwindSafe for StaartError
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