pub enum BatchFetchErrorKind {
Show 17 variants
UnsupportedByServer,
NoMessages,
InvalidResponse,
Serialization,
Subscription,
Publish,
MissingHeader,
InvalidHeader,
InvalidRequest,
TooManySubjects,
BatchSizeTooLarge,
BatchSizeRequired,
SubjectsRequired,
InvalidStreamName,
InvalidOption,
TimedOut,
Other,
}Expand description
Kinds of errors that can occur during batch fetch operations.
Variants§
UnsupportedByServer
The server does not support batch get operations.
NoMessages
InvalidResponse
Serialization
Subscription
Publish
MissingHeader
InvalidHeader
InvalidRequest
TooManySubjects
BatchSizeTooLarge
BatchSizeRequired
SubjectsRequired
InvalidStreamName
InvalidOption
TimedOut
Other
Trait Implementations§
Source§impl Clone for BatchFetchErrorKind
impl Clone for BatchFetchErrorKind
Source§fn clone(&self) -> BatchFetchErrorKind
fn clone(&self) -> BatchFetchErrorKind
Returns a duplicate 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 BatchFetchErrorKind
impl Debug for BatchFetchErrorKind
Source§impl Display for BatchFetchErrorKind
impl Display for BatchFetchErrorKind
Source§impl PartialEq for BatchFetchErrorKind
impl PartialEq for BatchFetchErrorKind
impl Copy for BatchFetchErrorKind
impl StructuralPartialEq for BatchFetchErrorKind
Auto Trait Implementations§
impl Freeze for BatchFetchErrorKind
impl RefUnwindSafe for BatchFetchErrorKind
impl Send for BatchFetchErrorKind
impl Sync for BatchFetchErrorKind
impl Unpin for BatchFetchErrorKind
impl UnwindSafe for BatchFetchErrorKind
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