pub enum WorkExecutionAuthority {
TargetOwner,
Principal {
principal_id: PrincipalId,
},
}Expand description
Durable target-runtime principal under which one execution attempt was admitted. Recovery must re-present this exact authority rather than inherit the ambient principal of whichever host happens to reconcile the binding.
Variants§
Implementations§
Source§impl WorkExecutionAuthority
impl WorkExecutionAuthority
pub fn principal(principal_id: PrincipalId) -> Self
Trait Implementations§
Source§impl Clone for WorkExecutionAuthority
impl Clone for WorkExecutionAuthority
Source§fn clone(&self) -> WorkExecutionAuthority
fn clone(&self) -> WorkExecutionAuthority
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 WorkExecutionAuthority
impl Debug for WorkExecutionAuthority
Source§impl<'de> Deserialize<'de> for WorkExecutionAuthority
impl<'de> Deserialize<'de> for WorkExecutionAuthority
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 WorkExecutionAuthority
Source§impl PartialEq for WorkExecutionAuthority
impl PartialEq for WorkExecutionAuthority
Source§impl Serialize for WorkExecutionAuthority
impl Serialize for WorkExecutionAuthority
impl StructuralPartialEq for WorkExecutionAuthority
Auto Trait Implementations§
impl Freeze for WorkExecutionAuthority
impl RefUnwindSafe for WorkExecutionAuthority
impl Send for WorkExecutionAuthority
impl Sync for WorkExecutionAuthority
impl Unpin for WorkExecutionAuthority
impl UnsafeUnpin for WorkExecutionAuthority
impl UnwindSafe for WorkExecutionAuthority
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.