Enum async_nats::ClientError
source · pub enum ClientError {
Other(String),
MaxReconnects,
}
Variants§
Trait Implementations§
source§impl Clone for ClientError
impl Clone for ClientError
source§fn clone(&self) -> ClientError
fn clone(&self) -> ClientError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClientError
impl Debug for ClientError
source§impl Display for ClientError
impl Display for ClientError
source§impl From<ClientError> for CallbackError
impl From<ClientError> for CallbackError
source§fn from(client_error: ClientError) -> Self
fn from(client_error: ClientError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ClientError
impl PartialEq for ClientError
impl Eq for ClientError
impl StructuralPartialEq for ClientError
Auto Trait Implementations§
impl Freeze for ClientError
impl RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnwindSafe for ClientError
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)