pub enum ToSync<M> {
Payload(M),
Close,
}Expand description
Message sent to running sync sessions.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for ToSync<M>where
M: Freeze,
impl<M> RefUnwindSafe for ToSync<M>where
M: RefUnwindSafe,
impl<M> Send for ToSync<M>where
M: Send,
impl<M> Sync for ToSync<M>where
M: Sync,
impl<M> Unpin for ToSync<M>where
M: Unpin,
impl<M> UnwindSafe for ToSync<M>where
M: 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