pub enum ChannelClass {
Open(OpenMethod),
OpenOk(OpenOkMethod),
Flow(FlowMethod),
FlowOk(FlowOkMethod),
Close(CloseMethod),
CloseOk,
}Variants§
Open(OpenMethod)
OpenOk(OpenOkMethod)
Flow(FlowMethod)
FlowOk(FlowOkMethod)
Close(CloseMethod)
CloseOk
Implementations§
Source§impl ChannelClass
impl ChannelClass
pub fn open(&self) -> Option<&OpenMethod>
pub fn open_ok(&self) -> Option<&OpenOkMethod>
pub fn flow(&self) -> Option<&FlowMethod>
pub fn flow_ok(&self) -> Option<&FlowOkMethod>
pub fn close(&self) -> Option<&CloseMethod>
pub fn close_ok(&self) -> Option<()>
Trait Implementations§
Source§impl Clone for ChannelClass
impl Clone for ChannelClass
Source§fn clone(&self) -> ChannelClass
fn clone(&self) -> ChannelClass
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 moreSource§impl Debug for ChannelClass
impl Debug for ChannelClass
Source§impl PartialEq for ChannelClass
impl PartialEq for ChannelClass
impl StructuralPartialEq for ChannelClass
Auto Trait Implementations§
impl !Freeze for ChannelClass
impl RefUnwindSafe for ChannelClass
impl Send for ChannelClass
impl Sync for ChannelClass
impl Unpin for ChannelClass
impl UnwindSafe for ChannelClass
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