[][src]Enum fungus::errors::UserError

pub enum UserError {
    DoesNotExistById(u32),
}

Variants

DoesNotExistById(u32)

An error indicating that the use does not exist.

Implementations

impl UserError[src]

pub fn does_not_exist_by_id(uid: u32) -> UserError[src]

Return an error indicating that the user does not exist

Trait Implementations

impl Clone for UserError[src]

impl Debug for UserError[src]

impl Display for UserError[src]

impl Eq for UserError[src]

impl Error for UserError[src]

impl From<UserError> for FuError[src]

impl Hash for UserError[src]

impl Ord for UserError[src]

impl PartialEq<UserError> for UserError[src]

impl PartialOrd<UserError> for UserError[src]

impl StructuralEq for UserError[src]

impl StructuralPartialEq for UserError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.