#[non_exhaustive]pub enum CallerClaim {
Own,
Brokered,
Relay,
Legacy,
Unknown,
}Expand description
The purpose of the connection attested by the daemon. Only Own can grant
automatic first-party access; unknown purposes must never be treated as own.
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 CallerClaim
impl Clone for CallerClaim
Source§impl Debug for CallerClaim
impl Debug for CallerClaim
Source§impl<'de> Deserialize<'de> for CallerClaim
impl<'de> Deserialize<'de> for CallerClaim
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 CallerClaim
Source§impl PartialEq for CallerClaim
impl PartialEq for CallerClaim
Source§impl Serialize for CallerClaim
impl Serialize for CallerClaim
impl StructuralPartialEq for CallerClaim
Auto Trait Implementations§
impl Forget for CallerClaim
impl Freeze for CallerClaim
impl Move for CallerClaim
impl RefUnwindSafe for CallerClaim
impl Send for CallerClaim
impl Sync for CallerClaim
impl Unpin for CallerClaim
impl UnsafeUnpin for CallerClaim
impl UnwindSafe for CallerClaim
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