pub enum DomainOutcome {
Succeeded,
Failed(Error),
Abandoned,
}Expand description
How a provider answered one domain of one request.
Variants§
Succeeded
Every write named for the domain is durable.
Failed(Error)
The domain failed: FailureCause::Provider, with the error.
Abandoned
The provider gave no answer and never will: FailureCause::ProviderAbandoned.
Implementations§
Source§impl DomainOutcome
impl DomainOutcome
Sourcepub fn into_result<V>(self, domain: &FlushDomain) -> Result<(), FailureCause<V>>where
V: Identities,
pub fn into_result<V>(self, domain: &FlushDomain) -> Result<(), FailureCause<V>>where
V: Identities,
The outcome as the durability core records it: success, or the cause of domain’s failure.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DomainOutcome
impl !UnwindSafe for DomainOutcome
impl Freeze for DomainOutcome
impl Send for DomainOutcome
impl Sync for DomainOutcome
impl Unpin for DomainOutcome
impl UnsafeUnpin for DomainOutcome
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