Enum async_nats::ServerError
source · [−]Variants
AuthorizationViolation
SlowConsumer(u64)
Other(String)
Trait Implementations
sourceimpl Clone for ServerError
impl Clone for ServerError
sourcefn clone(&self) -> ServerError
fn clone(&self) -> ServerError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ServerError
impl Debug for ServerError
sourceimpl Display for ServerError
impl Display for ServerError
sourceimpl PartialEq<ServerError> for ServerError
impl PartialEq<ServerError> for ServerError
sourcefn eq(&self, other: &ServerError) -> bool
fn eq(&self, other: &ServerError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServerError) -> bool
fn ne(&self, other: &ServerError) -> bool
This method tests for !=
.
impl Eq for ServerError
impl StructuralEq for ServerError
impl StructuralPartialEq for ServerError
Auto Trait Implementations
impl RefUnwindSafe for ServerError
impl Send for ServerError
impl Sync for ServerError
impl Unpin for ServerError
impl UnwindSafe for ServerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more