pub enum AphOperation {
IssueDelegationMandate,
IssueCommunicationMandate,
Notarize,
Transport,
Verify,
Reject,
}Expand description
An APH operation that a role may perform.
Variants§
IssueDelegationMandate
Issue a DelegationMandate granting an agent ongoing authority.
IssueCommunicationMandate
Issue a CommunicationMandate for a single outbound message.
Notarize
Sign + emit a NotarizationEnvelope.
Transport
Carry an envelope across a transport channel.
Verify
Verify an inbound envelope’s signature + policy.
Reject
Reject an envelope per local policy.
Implementations§
Source§impl AphOperation
impl AphOperation
Sourcepub fn all() -> &'static [AphOperation]
pub fn all() -> &'static [AphOperation]
All operation variants for iteration.
Trait Implementations§
Source§impl Clone for AphOperation
impl Clone for AphOperation
impl Copy for AphOperation
Source§impl Debug for AphOperation
impl Debug for AphOperation
Source§impl<'de> Deserialize<'de> for AphOperation
impl<'de> Deserialize<'de> for AphOperation
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 AphOperation
Source§impl Hash for AphOperation
impl Hash for AphOperation
Source§impl PartialEq for AphOperation
impl PartialEq for AphOperation
Source§impl Serialize for AphOperation
impl Serialize for AphOperation
impl StructuralPartialEq for AphOperation
Auto Trait Implementations§
impl Freeze for AphOperation
impl RefUnwindSafe for AphOperation
impl Send for AphOperation
impl Sync for AphOperation
impl Unpin for AphOperation
impl UnsafeUnpin for AphOperation
impl UnwindSafe for AphOperation
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