pub enum HirSelectOperation {
Recv {
channel: Expr,
},
Send {
channel: Expr,
value: Expr,
},
Timeout {
duration: Expr,
},
}Expand description
Channel operation in a select arm
Variants§
Trait Implementations§
Source§impl Clone for HirSelectOperation
impl Clone for HirSelectOperation
Source§fn clone(&self) -> HirSelectOperation
fn clone(&self) -> HirSelectOperation
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 HirSelectOperation
impl RefUnwindSafe for HirSelectOperation
impl Send for HirSelectOperation
impl Sync for HirSelectOperation
impl Unpin for HirSelectOperation
impl UnwindSafe for HirSelectOperation
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