pub struct BincodeAdapter<'a, T>(pub &'a T)
where
T: Freezable + ?Sized;
Expand description
Bincode Adapter for Freezable tasks This allows the use of the bincode API directly to freeze and thaw tasks.
Tuple Fields§
§0: &'a T
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for BincodeAdapter<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for BincodeAdapter<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for BincodeAdapter<'a, T>
impl<'a, T> Sync for BincodeAdapter<'a, T>
impl<'a, T> Unpin for BincodeAdapter<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for BincodeAdapter<'a, T>where
T: RefUnwindSafe + ?Sized,
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