#[repr(u8)]pub enum ErrorKind {
Show 14 variants
InvalidRequest = 0,
PermissionDenied = 1,
NotFound = 2,
Gone = 3,
Closed = 4,
SequenceConflict = 5,
Fenced = 6,
ProducerDiverged = 7,
ProtocolError = 8,
PayloadTooLarge = 9,
Timeout = 10,
Transport = 11,
RateLimited = 12,
Unavailable = 13,
}Variants§
InvalidRequest = 0
PermissionDenied = 1
NotFound = 2
Gone = 3
Closed = 4
SequenceConflict = 5
Fenced = 6
ProducerDiverged = 7
ProtocolError = 8
PayloadTooLarge = 9
Timeout = 10
Transport = 11
RateLimited = 12
Trait Implementations§
Source§impl Clone for DurableStreamErrorKind
impl Clone for DurableStreamErrorKind
impl Copy for DurableStreamErrorKind
Source§impl Debug for DurableStreamErrorKind
impl Debug for DurableStreamErrorKind
impl Eq for DurableStreamErrorKind
Source§impl Ord for DurableStreamErrorKind
impl Ord for DurableStreamErrorKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DurableStreamErrorKind
impl PartialEq for DurableStreamErrorKind
Source§impl PartialOrd for DurableStreamErrorKind
impl PartialOrd for DurableStreamErrorKind
impl StructuralPartialEq for DurableStreamErrorKind
Auto Trait Implementations§
impl Freeze for DurableStreamErrorKind
impl RefUnwindSafe for DurableStreamErrorKind
impl Send for DurableStreamErrorKind
impl Sync for DurableStreamErrorKind
impl Unpin for DurableStreamErrorKind
impl UnsafeUnpin for DurableStreamErrorKind
impl UnwindSafe for DurableStreamErrorKind
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