[−][src]Enum haiku::support::ErrorKind
The kind of error that occured
Note that this list is not complete, there might be more error kinds added in the future.
Variants
InvalidData
This error is returned if the function cannot return valid data, for example due to a system error.
InvalidInput
This error tells that the user is supplying parameters that are not valid.
NotFound
This error is returned when one of the parameters of the function call refers to something that does not/no longer exists.
Other
This leftover category is for any other error.
Sometimes a lower level system error is not properly mapped to a higher level error. This might be corrected in future versions of the crate.
Trait Implementations
impl Copy for ErrorKind
[src]
impl From<ErrorKind> for HaikuError
[src]
fn from(kind: ErrorKind) -> HaikuError
[src]
This is a shortcut to create a simple error based on an ErrorKind
.
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ErrorKind
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,