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 moresourceimpl Debug for ServerError
impl Debug for ServerError
sourceimpl Display for ServerError
impl Display for ServerError
sourceimpl From<ServerError> for CallbackError
impl From<ServerError> for CallbackError
sourcefn from(server_error: ServerError) -> Self
fn from(server_error: ServerError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ServerError> for ServerError
impl PartialEq<ServerError> for ServerError
sourcefn eq(&self, other: &ServerError) -> bool
fn eq(&self, other: &ServerError) -> bool
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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