pub enum HostActivationOutcome {
Accepted(HostActivationReceipt),
Unsupported,
Failed(DeliveryFailureReason),
}Expand description
What an activation adapter did with an envelope.
Unsupported is a first-class answer rather than an error: a
deployment with no adapter is a normal deployment, and its hosts
find their work by asking for it. Telling that apart from a wake-up
that failed is what lets an operator know whether to go looking.
Variants§
Accepted(HostActivationReceipt)
The host was reached. Transport, not processing.
Unsupported
This deployment does not wake hosts.
Failed(DeliveryFailureReason)
The adapter tried and could not.
Implementations§
Source§impl HostActivationOutcome
impl HostActivationOutcome
pub const fn receipt(&self) -> Option<&HostActivationReceipt>
pub const fn is_accepted(&self) -> bool
Trait Implementations§
Source§impl Clone for HostActivationOutcome
impl Clone for HostActivationOutcome
Source§impl Debug for HostActivationOutcome
impl Debug for HostActivationOutcome
impl Eq for HostActivationOutcome
Source§impl PartialEq for HostActivationOutcome
impl PartialEq for HostActivationOutcome
impl StructuralPartialEq for HostActivationOutcome
Auto Trait Implementations§
impl Freeze for HostActivationOutcome
impl RefUnwindSafe for HostActivationOutcome
impl Send for HostActivationOutcome
impl Sync for HostActivationOutcome
impl Unpin for HostActivationOutcome
impl UnsafeUnpin for HostActivationOutcome
impl UnwindSafe for HostActivationOutcome
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