pub enum Unblocked {
Zero,
One,
MoreThanOne,
}Expand description
The return type of GetUpdate::update and GetUpdate::update_multiples
Indcates an upper bound of how many calls to get
will return Some following this update.
Variants§
Zero
The update has not unblocked any get
One
The update has unblocked at most on get
MoreThanOne
The update may have unblocked more than one get
Trait Implementations§
Source§impl AddAssign for Unblocked
impl AddAssign for Unblocked
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreimpl Copy for Unblocked
impl Eq for Unblocked
impl StructuralPartialEq for Unblocked
Auto Trait Implementations§
impl Freeze for Unblocked
impl RefUnwindSafe for Unblocked
impl Send for Unblocked
impl Sync for Unblocked
impl Unpin for Unblocked
impl UnwindSafe for Unblocked
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