[][src]Enum oxide_auth_rocket::NoError

pub enum NoError {}

An uninhabited error type for simple requests and responses.

Since these types are built to never error on their operation, and ! is not the stable unique representation for uninhabited types, this simple enum without variants is used instead.

Implementations

impl NoError[src]

pub fn into<T>(self) -> T[src]

Turn this into any type.

Since NoError is uninhabited, this always works but is never executed.

Trait Implementations

impl Clone for NoError[src]

impl Copy for NoError[src]

impl Debug for NoError[src]

impl Eq for NoError[src]

impl Hash for NoError[src]

impl Ord for NoError[src]

impl PartialEq<NoError> for NoError[src]

impl PartialOrd<NoError> for NoError[src]

impl StructuralEq for NoError[src]

impl StructuralPartialEq for NoError[src]

Auto Trait Implementations

impl RefUnwindSafe for NoError

impl Send for NoError

impl Sync for NoError

impl Unpin for NoError

impl UnwindSafe for NoError

Blanket Implementations

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

impl<T, I> AsResult<T, I> for T where
    I: Input, 

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> IntoCollection<T> for T

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, 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.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,