[][src]Trait wayk_proto::sm::VirtualChannelSM

pub trait VirtualChannelSM {
    fn get_channel_name(&self) -> ChannelName;
fn is_terminated(&self) -> bool;
fn waiting_for_packet(&self) -> bool;
fn update_without_chan_msg<'msg>(&mut self) -> VirtChannelSMResult<'msg>;
fn update_with_chan_msg<'msg: 'a, 'a>(
        &mut self,
        chan_msg: &'a NowVirtualChannel<'msg>
    ) -> VirtChannelSMResult<'msg>; fn is_running(&self) -> bool { ... } }

Required methods

fn get_channel_name(&self) -> ChannelName

fn is_terminated(&self) -> bool

fn waiting_for_packet(&self) -> bool

fn update_without_chan_msg<'msg>(&mut self) -> VirtChannelSMResult<'msg>

fn update_with_chan_msg<'msg: 'a, 'a>(
    &mut self,
    chan_msg: &'a NowVirtualChannel<'msg>
) -> VirtChannelSMResult<'msg>

Loading content...

Provided methods

fn is_running(&self) -> bool

Loading content...

Implementors

impl VirtualChannelSM for DummyVirtChannelSM[src]

impl<UserCallback> VirtualChannelSM for ChatChannelSM<UserCallback> where
    UserCallback: ChatChannelCallbackTrait
[src]

impl<UserCallback> VirtualChannelSM for ClipboardChannelSM<UserCallback> where
    UserCallback: ClipboardChannelCallbackTrait
[src]

Loading content...