pub enum SessionOp {
Send(BaseType),
Recv(BaseType),
SelectLeft,
SelectRight,
Close,
}Expand description
A single session operation (for type checking).
Variants§
Send(BaseType)
Send a value of the given type.
Recv(BaseType)
Receive a value of the given type.
SelectLeft
Select the left branch.
SelectRight
Select the right branch.
Close
Close the session.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionOp
impl RefUnwindSafe for SessionOp
impl Send for SessionOp
impl Sync for SessionOp
impl Unpin for SessionOp
impl UnsafeUnpin for SessionOp
impl UnwindSafe for SessionOp
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