#[repr(u32)]pub enum Status {
Ok = 1_000,
Unknown = 1_001,
IncompleteDataStream = 2_000,
UnsupportedOperation = 2_001,
UnexpectedDataFormat = 2_002,
WriteFailed = 2_003,
ReadFailed = 2_004,
StreamNotOpen = 3_000,
StreamOpenTimeout = 3_001,
ChannelClosed = 3_002,
KeyNotPresent = 4_000,
}Variants§
Ok = 1_000
Sent when an operation succeeds.
Unknown = 1_001
Sent when an operation fails with an unknown error.
IncompleteDataStream = 2_000
Sent when reading from a data stream and the amount of data received was below the expected amount.
UnsupportedOperation = 2_001
Sent when the operation the remote peer tried to execute is not within the current capabilities of the server.
UnexpectedDataFormat = 2_002
Sent when the data read failed deserialization into the expected object.
WriteFailed = 2_003
The peer failed to send data back.
ReadFailed = 2_004
Reading from the data stream failed.
StreamNotOpen = 3_000
Sent when the client requested the Control executor to open a stream, but the server could not complete the request.
StreamOpenTimeout = 3_001
Sent when the peer timed out waiting for the remote peer to open either accept or open a stream.
ChannelClosed = 3_002
An internal messaging channel has been closed indicating that the QUIC stream should also be closed.
KeyNotPresent = 4_000
Sent when a key is not present in the key-value data store.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more