[−][src]Struct wayk_proto::sm::client_connection::ClientConnectionSeqSM
Implementations
impl<UserCallback> ClientConnectionSeqSM<UserCallback> where
UserCallback: ConnectionSeqCallbackTrait,
[src]
UserCallback: ConnectionSeqCallbackTrait,
pub fn builder(
user_callback: UserCallback
) -> ClientConnectionSeqBuilder<UserCallback>
[src]
user_callback: UserCallback
) -> ClientConnectionSeqBuilder<UserCallback>
pub fn new(
user_callback: UserCallback,
available_auth_types: Vec<AuthType>,
authenticate_sm: Box<dyn ConnectionSM>,
capabilities: Vec<NowCapset<'static>>,
channels_to_open: Vec<NowChannelDef>
) -> Self
[src]
user_callback: UserCallback,
available_auth_types: Vec<AuthType>,
authenticate_sm: Box<dyn ConnectionSM>,
capabilities: Vec<NowCapset<'static>>,
channels_to_open: Vec<NowChannelDef>
) -> Self
pub fn get_state(&self) -> ConnectionState
[src]
Trait Implementations
impl<UserCallback> ConnectionSM for ClientConnectionSeqSM<UserCallback> where
UserCallback: ConnectionSeqCallbackTrait,
[src]
UserCallback: ConnectionSeqCallbackTrait,
fn set_shared_data(&mut self, shared_data: ConnectionSMSharedDataRc)
[src]
fn get_shared_data(&self) -> Option<ConnectionSMSharedDataRc>
[src]
fn is_terminated(&self) -> bool
[src]
fn waiting_for_packet(&self) -> bool
[src]
fn update_without_message<'msg>(&mut self) -> ConnectionSMResult<'msg>
[src]
fn update_with_message<'msg: 'a, 'a>(
&mut self,
msg: &'a NowMessage<'msg>
) -> ConnectionSMResult<'msg>
[src]
&mut self,
msg: &'a NowMessage<'msg>
) -> ConnectionSMResult<'msg>
fn is_running(&self) -> bool
[src]
Auto Trait Implementations
impl<UserCallback> !RefUnwindSafe for ClientConnectionSeqSM<UserCallback>
impl<UserCallback> !Send for ClientConnectionSeqSM<UserCallback>
impl<UserCallback> !Sync for ClientConnectionSeqSM<UserCallback>
impl<UserCallback> Unpin for ClientConnectionSeqSM<UserCallback> where
UserCallback: Unpin,
UserCallback: Unpin,
impl<UserCallback> !UnwindSafe for ClientConnectionSeqSM<UserCallback>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,