pub enum ChannelOp {
Recv {
channel: Operand,
},
Send {
channel: Operand,
value: Operand,
},
Timeout {
duration_ns: u64,
},
}Expand description
Channel operation kind for select expressions
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChannelOp
impl RefUnwindSafe for ChannelOp
impl Send for ChannelOp
impl Sync for ChannelOp
impl Unpin for ChannelOp
impl UnwindSafe for ChannelOp
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