[][src]Trait wayk_proto::sm::ConnectionSM

pub trait ConnectionSM {
    fn set_shared_data(&mut self, shared_data: ConnectionSMSharedDataRc);
fn get_shared_data(&self) -> Option<ConnectionSMSharedDataRc>;
fn is_terminated(&self) -> bool;
fn waiting_for_packet(&self) -> bool;
fn update_without_message<'msg>(&mut self) -> ConnectionSMResult<'msg>;
fn update_with_message<'msg: 'a, 'a>(
        &mut self,
        message: &'a NowMessage<'msg>
    ) -> ConnectionSMResult<'msg>; fn is_running(&self) -> bool { ... } }

Required methods

fn set_shared_data(&mut self, shared_data: ConnectionSMSharedDataRc)

fn get_shared_data(&self) -> Option<ConnectionSMSharedDataRc>

fn is_terminated(&self) -> bool

fn waiting_for_packet(&self) -> bool

fn update_without_message<'msg>(&mut self) -> ConnectionSMResult<'msg>

fn update_with_message<'msg: 'a, 'a>(
    &mut self,
    message: &'a NowMessage<'msg>
) -> ConnectionSMResult<'msg>

Loading content...

Provided methods

fn is_running(&self) -> bool

Loading content...

Implementors

impl ConnectionSM for DummyConnectionSM[src]

impl<UserCallback> ConnectionSM for ClientConnectionSeqSM<UserCallback> where
    UserCallback: ConnectionSeqCallbackTrait
[src]

Loading content...