pub struct OneWay<Message> { /* private fields */ }Expand description
Worker’s mode that has a communication channel between the worker and its
task. In this channel the messages, with type Message, can be send from the
worker to the task using the function super::Worker<Mode>::post_message().
Auto Trait Implementations§
impl<Message> Freeze for OneWay<Message>
impl<Message> RefUnwindSafe for OneWay<Message>
impl<Message> Send for OneWay<Message>where
Message: Send,
impl<Message> Sync for OneWay<Message>where
Message: Send,
impl<Message> Unpin for OneWay<Message>
impl<Message> UnsafeUnpin for OneWay<Message>
impl<Message> UnwindSafe for OneWay<Message>
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