pub enum HostDeliveryMode {
PullLease,
Activation,
}Expand description
How a delivery is expected to reach its destination.
Variants§
PullLease
The host asks; the ledger hands out an exclusive, expiring lease.
Activation
The engine wakes the host through its activation adapter.
Implementations§
Trait Implementations§
Source§impl Clone for HostDeliveryMode
impl Clone for HostDeliveryMode
impl Copy for HostDeliveryMode
Source§impl Debug for HostDeliveryMode
impl Debug for HostDeliveryMode
Source§impl Default for HostDeliveryMode
impl Default for HostDeliveryMode
Source§impl<'de> Deserialize<'de> for HostDeliveryMode
impl<'de> Deserialize<'de> for HostDeliveryMode
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
Source§impl Display for HostDeliveryMode
impl Display for HostDeliveryMode
impl Eq for HostDeliveryMode
Source§impl Hash for HostDeliveryMode
impl Hash for HostDeliveryMode
Source§impl Ord for HostDeliveryMode
impl Ord for HostDeliveryMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HostDeliveryMode
impl PartialEq for HostDeliveryMode
Source§impl PartialOrd for HostDeliveryMode
impl PartialOrd for HostDeliveryMode
Source§impl Serialize for HostDeliveryMode
impl Serialize for HostDeliveryMode
impl StructuralPartialEq for HostDeliveryMode
Auto Trait Implementations§
impl Freeze for HostDeliveryMode
impl RefUnwindSafe for HostDeliveryMode
impl Send for HostDeliveryMode
impl Sync for HostDeliveryMode
impl Unpin for HostDeliveryMode
impl UnsafeUnpin for HostDeliveryMode
impl UnwindSafe for HostDeliveryMode
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