Enum follow_heating::io::robbable::Dispatchable
source · pub enum Dispatchable<T> {
Available(DispatchAvailable<T>),
InUse(Robbable<T>),
Changing,
}
Variants§
Implementations§
source§impl<T> Dispatchable<T>
impl<T> Dispatchable<T>
pub fn of(value: T) -> Self
pub fn rob_or_get_now(&mut self) -> Result<&mut DispatchAvailable<T>, ()>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Dispatchable<T>where
T: RefUnwindSafe,
impl<T> Send for Dispatchable<T>where
T: Send,
impl<T> Sync for Dispatchable<T>
impl<T> Unpin for Dispatchable<T>where
T: Unpin,
impl<T> UnwindSafe for Dispatchable<T>where
T: UnwindSafe,
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