pub struct VmChannelHandle {
pub name: String,
pub sender: Arc<Sender<VmValue>>,
pub receiver: Arc<Mutex<Receiver<VmValue>>>,
pub closed: Arc<AtomicBool>,
}Expand description
A channel handle for the VM (uses tokio mpsc).
Fields§
§name: String§sender: Arc<Sender<VmValue>>§receiver: Arc<Mutex<Receiver<VmValue>>>§closed: Arc<AtomicBool>Trait Implementations§
Source§impl Clone for VmChannelHandle
impl Clone for VmChannelHandle
Source§fn clone(&self) -> VmChannelHandle
fn clone(&self) -> VmChannelHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VmChannelHandle
impl !RefUnwindSafe for VmChannelHandle
impl !Send for VmChannelHandle
impl !Sync for VmChannelHandle
impl Unpin for VmChannelHandle
impl UnsafeUnpin for VmChannelHandle
impl !UnwindSafe for VmChannelHandle
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