Enum ReplacementOutcome
pub enum ReplacementOutcome {
Created(TrialReservation),
AlreadyCreated(TrialReservation),
Exhausted,
}Expand description
The result of an idempotent replacement creation operation.
Variants§
Created(TrialReservation)
This call created and durably reserved the replacement.
AlreadyCreated(TrialReservation)
A previous replay already created the same replacement.
Exhausted
The replacement’s explicit budget is exhausted; the effect remains pending and may be retried after the budget changes.
Trait Implementations§
§impl Clone for ReplacementOutcome
impl Clone for ReplacementOutcome
§fn clone(&self) -> ReplacementOutcome
fn clone(&self) -> ReplacementOutcome
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 ReplacementOutcome
§impl Debug for ReplacementOutcome
impl Debug for ReplacementOutcome
impl Eq for ReplacementOutcome
§impl PartialEq for ReplacementOutcome
impl PartialEq for ReplacementOutcome
impl StructuralPartialEq for ReplacementOutcome
Auto Trait Implementations§
impl Freeze for ReplacementOutcome
impl RefUnwindSafe for ReplacementOutcome
impl Send for ReplacementOutcome
impl Sync for ReplacementOutcome
impl Unpin for ReplacementOutcome
impl UnsafeUnpin for ReplacementOutcome
impl UnwindSafe for ReplacementOutcome
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