#[non_exhaustive]pub enum RegistrationMethod {
Channel,
Nonce,
Unknown,
}Expand description
How a running supervised spawn registered. Unknown future methods confer neither channel registration nor nonce registration.
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.
Trait Implementations§
Source§impl Clone for RegistrationMethod
impl Clone for RegistrationMethod
Source§impl Debug for RegistrationMethod
impl Debug for RegistrationMethod
Source§impl<'de> Deserialize<'de> for RegistrationMethod
impl<'de> Deserialize<'de> for RegistrationMethod
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 RegistrationMethod
Source§impl PartialEq for RegistrationMethod
impl PartialEq for RegistrationMethod
Source§impl Serialize for RegistrationMethod
impl Serialize for RegistrationMethod
impl StructuralPartialEq for RegistrationMethod
Auto Trait Implementations§
impl Forget for RegistrationMethod
impl Freeze for RegistrationMethod
impl Move for RegistrationMethod
impl RefUnwindSafe for RegistrationMethod
impl Send for RegistrationMethod
impl Sync for RegistrationMethod
impl Unpin for RegistrationMethod
impl UnsafeUnpin for RegistrationMethod
impl UnwindSafe for RegistrationMethod
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