pub struct DomainCompletion { /* private fields */ }Expand description
Answers one domain of one request, once, from any thread at any time – inside make_durable
included. Success warrants that every write named for the domain is durable (the contract).
Dropped unanswered, it is a failure of the domain, FailureCause::ProviderAbandoned. Answering records
the outcome, and sets the readiness signal if that makes an entry poppable; it never runs
delivery. Once the instance has ended, an answer does nothing; ending waits for every completion
to be answered or dropped.
Implementations§
Source§impl DomainCompletion
impl DomainCompletion
Sourcepub fn new(home: Weak<dyn Answer>, call: DomainCall) -> DomainCompletion
pub fn new(home: Weak<dyn Answer>, call: DomainCall) -> DomainCompletion
A completion answering call through home, which counts it as unanswered from now.
Trait Implementations§
Source§impl Debug for DomainCompletion
impl Debug for DomainCompletion
Source§impl Drop for DomainCompletion
impl Drop for DomainCompletion
Auto Trait Implementations§
impl !RefUnwindSafe for DomainCompletion
impl !UnwindSafe for DomainCompletion
impl Freeze for DomainCompletion
impl Send for DomainCompletion
impl Sync for DomainCompletion
impl Unpin for DomainCompletion
impl UnsafeUnpin for DomainCompletion
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