[−][src]Enum rood::error::Cause
Possible error causes. Useful for handling various failures from the code without having too much detail.
Variants
Error thrown when encountering an invalid state in a concurrent situation. e.g. when awaiting a stopped thread.
User-input related error. Return this when processing invalid user data.
Return InvalidState
when an operation fails due to a corrupt state. Recovery is often impossible.
Return when encoutering issues serializing / deserializing data.
Returned by From<std::io::Error> for rood::Error
.
Returned by From<std::time::SystemTimeError> for rood::Error
.
GeneralError(String)
Used to encapsulate errors from other crates and/or errors not well defined here.
Trait Implementations
impl Debug for Cause
[src]
impl PartialEq<Cause> for Cause
[src]
impl StructuralPartialEq for Cause
[src]
Auto Trait Implementations
impl RefUnwindSafe for Cause
impl Send for Cause
impl Sync for Cause
impl Unpin for Cause
impl UnwindSafe for Cause
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,