pub enum ToolAuthorityOutcome {
GrantSet,
GrantRevoked {
existed: bool,
},
ApprovalResolved,
ApprovalExpired {
request_key: CapabilityRequestKey,
accepted_sequence: u64,
},
ClientClosed {
purged_grant_count: usize,
closed_request_count: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for ToolAuthorityOutcome
impl Clone for ToolAuthorityOutcome
Source§fn clone(&self) -> ToolAuthorityOutcome
fn clone(&self) -> ToolAuthorityOutcome
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 ToolAuthorityOutcome
impl Debug for ToolAuthorityOutcome
Source§impl<'de> Deserialize<'de> for ToolAuthorityOutcome
impl<'de> Deserialize<'de> for ToolAuthorityOutcome
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolAuthorityOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolAuthorityOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ToolAuthorityOutcome
Source§impl PartialEq for ToolAuthorityOutcome
impl PartialEq for ToolAuthorityOutcome
Source§impl Serialize for ToolAuthorityOutcome
impl Serialize for ToolAuthorityOutcome
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ToolAuthorityOutcome
Auto Trait Implementations§
impl Freeze for ToolAuthorityOutcome
impl RefUnwindSafe for ToolAuthorityOutcome
impl Send for ToolAuthorityOutcome
impl Sync for ToolAuthorityOutcome
impl Unpin for ToolAuthorityOutcome
impl UnsafeUnpin for ToolAuthorityOutcome
impl UnwindSafe for ToolAuthorityOutcome
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