#[non_exhaustive]pub enum OfferOutcome {
Adopted(AdoptReason),
Rejected(RejectReason),
}Expand description
The result of UtcClock::offer.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Adopted(AdoptReason)
The sample is now the anchor.
Rejected(RejectReason)
The existing anchor was kept.
Trait Implementations§
Source§impl Clone for OfferOutcome
impl Clone for OfferOutcome
impl Copy for OfferOutcome
Source§impl Debug for OfferOutcome
impl Debug for OfferOutcome
impl Eq for OfferOutcome
Source§impl PartialEq for OfferOutcome
impl PartialEq for OfferOutcome
impl StructuralPartialEq for OfferOutcome
Auto Trait Implementations§
impl Forget for OfferOutcome
impl Freeze for OfferOutcome
impl RefUnwindSafe for OfferOutcome
impl Send for OfferOutcome
impl Sync for OfferOutcome
impl Unpin for OfferOutcome
impl UnsafeUnpin for OfferOutcome
impl UnwindSafe for OfferOutcome
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