pub enum ClientError {
InvalidState,
Transport,
QueueFull,
}Expand description
Client-spezifische Error-Klassen.
Variants§
InvalidState
Operation in falschem Lifecycle-Status (z.B. send-without-connect).
Transport
Transport-Layer-Fehler (Connection-Reset etc.).
QueueFull
Submessage konnte nicht eingereiht werden (Wire-Cap erreicht).
Trait Implementations§
Source§impl Clone for ClientError
impl Clone for ClientError
Source§fn clone(&self) -> ClientError
fn clone(&self) -> ClientError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PartialEq for ClientError
impl PartialEq for ClientError
Source§fn eq(&self, other: &ClientError) -> bool
fn eq(&self, other: &ClientError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy 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 UnsafeUnpin 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