pub enum TypeDidMode {
Send,
RequestReply,
}Expand description
TypeDID delivery mode for an agent message.
Variants§
Send
Fire-and-forget delivery; no TypeDID reply is required.
RequestReply
The receiver is expected to answer with a reply-bound TypeDID envelope.
Trait Implementations§
Source§impl Clone for TypeDidMode
impl Clone for TypeDidMode
Source§fn clone(&self) -> TypeDidMode
fn clone(&self) -> TypeDidMode
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 moreimpl Copy for TypeDidMode
Source§impl Debug for TypeDidMode
impl Debug for TypeDidMode
Source§impl<'de> Deserialize<'de> for TypeDidMode
impl<'de> Deserialize<'de> for TypeDidMode
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 TypeDidMode
Source§impl PartialEq for TypeDidMode
impl PartialEq for TypeDidMode
Source§fn eq(&self, other: &TypeDidMode) -> bool
fn eq(&self, other: &TypeDidMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TypeDidMode
impl Serialize for TypeDidMode
impl StructuralPartialEq for TypeDidMode
Auto Trait Implementations§
impl Freeze for TypeDidMode
impl RefUnwindSafe for TypeDidMode
impl Send for TypeDidMode
impl Sync for TypeDidMode
impl Unpin for TypeDidMode
impl UnsafeUnpin for TypeDidMode
impl UnwindSafe for TypeDidMode
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