#[non_exhaustive]pub enum OperationDelivery {
Watch,
Other(String),
}Expand description
An open delivery string, like SelfSignalKind: unknown values survive
decoding and re-encoding but do not grant watch semantics.
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.
Implementations§
Trait Implementations§
Source§impl Clone for OperationDelivery
impl Clone for OperationDelivery
Source§impl Debug for OperationDelivery
impl Debug for OperationDelivery
Source§impl<'de> Deserialize<'de> for OperationDelivery
impl<'de> Deserialize<'de> for OperationDelivery
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
impl Eq for OperationDelivery
Source§impl PartialEq for OperationDelivery
impl PartialEq for OperationDelivery
Source§impl Serialize for OperationDelivery
impl Serialize for OperationDelivery
impl StructuralPartialEq for OperationDelivery
Auto Trait Implementations§
impl Forget for OperationDelivery
impl Freeze for OperationDelivery
impl Move for OperationDelivery
impl RefUnwindSafe for OperationDelivery
impl Send for OperationDelivery
impl Sync for OperationDelivery
impl Unpin for OperationDelivery
impl UnsafeUnpin for OperationDelivery
impl UnwindSafe for OperationDelivery
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