pub enum ChanOp {
RecvOnly,
SendOnly,
SendRecv,
}Expand description
Valid channel operations for a label assignment.
Variants§
RecvOnly
The device can only receive data in channels with this label.
SendOnly
The device can only send data in channels with this label.
SendRecv
The device can send and receive data in channels with this label.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChanOp
impl<'de> Deserialize<'de> for ChanOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for ChanOp
Auto Trait Implementations§
impl Freeze for ChanOp
impl RefUnwindSafe for ChanOp
impl Send for ChanOp
impl Sync for ChanOp
impl Unpin for ChanOp
impl UnwindSafe for ChanOp
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