[−][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
An operation was (prematurely) interrupted by another system event. Usually, you can retry the operation in these instances.
This error is returned if the function cannot return valid data, for example due to a system error.
This error tells that the user is supplying parameters that are not valid.
This error is returned when one of the parameters of the function call refers to something that does not/no longer exists.
This error is returned when the operation is not allowed, because the user has insufficient privileges, or the target of the operation does not allow it.
This error is returned whenever an operation may fail because it times out.
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 Clone for ErrorKind
[src]
impl Copy for ErrorKind
[src]
impl Debug 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
.
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,