#[non_exhaustive]pub enum PacketStatus {
TooMuchData,
ClientEvicted,
ClientReleaseTooLow,
ClientReleaseTooHigh,
ClientShutdown,
InvalidOperation,
InvalidDataSize,
}Expand description
Errors that occur prior to the server processing a batch of operations.
When one of these is returned as a result of a transaction request, then all operations in the request can be assumed to have not been processed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TooMuchData
Too many events were submitted to a multi-event request.
ClientEvicted
The client was evicted by the server.
ClientReleaseTooLow
The client’s version is too low.
ClientReleaseTooHigh
The client’s version is too high.
ClientShutdown
The client was already destructed.
InvalidOperation
An invalid operation was submitted.
This should not be possible in the Rust client.
InvalidDataSize
The operation’s payload was an incorrect size.
This should not be possible in the Rust client.
Trait Implementations§
Source§impl Clone for PacketStatus
impl Clone for PacketStatus
Source§fn clone(&self) -> PacketStatus
fn clone(&self) -> PacketStatus
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 PacketStatus
impl Debug for PacketStatus
Source§impl Display for PacketStatus
impl Display for PacketStatus
Source§impl Error for PacketStatus
impl Error for PacketStatus
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<PacketStatus> for u8
impl From<PacketStatus> for u8
Source§fn from(other: PacketStatus) -> u8
fn from(other: PacketStatus) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PacketStatus
impl From<u8> for PacketStatus
Source§fn from(other: u8) -> PacketStatus
fn from(other: u8) -> PacketStatus
Converts to this type from the input type.
Source§impl Hash for PacketStatus
impl Hash for PacketStatus
Source§impl Ord for PacketStatus
impl Ord for PacketStatus
Source§fn cmp(&self, other: &PacketStatus) -> Ordering
fn cmp(&self, other: &PacketStatus) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PacketStatus
impl PartialEq for PacketStatus
Source§impl PartialOrd for PacketStatus
impl PartialOrd for PacketStatus
impl Copy for PacketStatus
impl Eq for PacketStatus
impl StructuralPartialEq for PacketStatus
Auto Trait Implementations§
impl Freeze for PacketStatus
impl RefUnwindSafe for PacketStatus
impl Send for PacketStatus
impl Sync for PacketStatus
impl Unpin for PacketStatus
impl UnwindSafe for PacketStatus
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