#[non_exhaustive]pub enum SubscribeErrorCode {
UnknownFeed,
UnsupportedTransport,
UnsupportedFormat,
UnsupportedCapability,
Internal,
}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.
UnknownFeed
No feed with the requested name.
UnsupportedTransport
Server cannot satisfy the transport preference.
UnsupportedFormat
Server cannot serialise in the requested format.
UnsupportedCapability
Server cannot honour the requested capability, e.g. a non-empty filter.
Internal
Generic server-side failure with details in the message.
Trait Implementations§
Source§impl Clone for SubscribeErrorCode
impl Clone for SubscribeErrorCode
Source§fn clone(&self) -> SubscribeErrorCode
fn clone(&self) -> SubscribeErrorCode
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 SubscribeErrorCode
impl Debug for SubscribeErrorCode
Source§impl<'de> Deserialize<'de> for SubscribeErrorCode
impl<'de> Deserialize<'de> for SubscribeErrorCode
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SubscribeErrorCode
impl PartialEq for SubscribeErrorCode
Source§fn eq(&self, other: &SubscribeErrorCode) -> bool
fn eq(&self, other: &SubscribeErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubscribeErrorCode
impl Serialize for SubscribeErrorCode
impl Copy for SubscribeErrorCode
impl Eq for SubscribeErrorCode
impl StructuralPartialEq for SubscribeErrorCode
Auto Trait Implementations§
impl Freeze for SubscribeErrorCode
impl RefUnwindSafe for SubscribeErrorCode
impl Send for SubscribeErrorCode
impl Sync for SubscribeErrorCode
impl Unpin for SubscribeErrorCode
impl UnsafeUnpin for SubscribeErrorCode
impl UnwindSafe for SubscribeErrorCode
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