#[non_exhaustive]pub enum UpdateWaitStage {
Accepted,
Completed,
}Expand description
How long an update outcome read waits before the Server answers.
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.
Accepted
Answer at once with the update’s current receipt (the Server default).
Completed
Wait for the update’s outcome, up to the wait timeout.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateWaitStage
impl Clone for UpdateWaitStage
Source§fn clone(&self) -> UpdateWaitStage
fn clone(&self) -> UpdateWaitStage
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateWaitStage
impl Debug for UpdateWaitStage
Source§impl Default for UpdateWaitStage
impl Default for UpdateWaitStage
Source§fn default() -> UpdateWaitStage
fn default() -> UpdateWaitStage
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateWaitStage
impl PartialEq for UpdateWaitStage
impl Copy for UpdateWaitStage
impl Eq for UpdateWaitStage
impl StructuralPartialEq for UpdateWaitStage
Auto Trait Implementations§
impl Freeze for UpdateWaitStage
impl RefUnwindSafe for UpdateWaitStage
impl Send for UpdateWaitStage
impl Sync for UpdateWaitStage
impl Unpin for UpdateWaitStage
impl UnwindSafe for UpdateWaitStage
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