Enum oxide_auth_rocket::NoError
source · pub enum NoError {}
Expand description
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§
Trait Implementations§
source§impl Ord for NoError
impl Ord for NoError
source§impl PartialEq for NoError
impl PartialEq for NoError
source§impl PartialOrd for NoError
impl PartialOrd for NoError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for NoError
impl Eq for NoError
impl StructuralPartialEq for NoError
Auto Trait Implementations§
impl Freeze for NoError
impl RefUnwindSafe for NoError
impl Send for NoError
impl Sync for NoError
impl Unpin for NoError
impl UnwindSafe for NoError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.