[][src]Struct wayk_proto::sharee::Sharee

pub struct Sharee<ConnectionSeq, UserCallback> { /* fields omitted */ }

Implementations

impl<ConnectionSeq, UserCallback> Sharee<ConnectionSeq, UserCallback> where
    ConnectionSeq: ConnectionSM,
    UserCallback: ShareeCallbackTrait
[src]

pub fn new(
    connection_sm: ConnectionSeq,
    channels_manager: ChannelsManager,
    user_callback: UserCallback
) -> Self
[src]

pub fn get_state(&self) -> ShareeState[src]

pub fn get_connection_seq(&self) -> &ConnectionSeq[src]

pub fn is_terminated(&self) -> bool[src]

pub fn is_running(&self) -> bool[src]

pub fn waiting_for_packet(&self) -> bool[src]

pub fn update_without_body<'msg>(&mut self) -> ShareeResult<'msg>[src]

pub fn update_with_body<'msg: 'a, 'a>(
    &mut self,
    body: &'a NowBody<'msg>
) -> ShareeResult<'msg>
[src]

pub fn get_channels_ctx(&self) -> &VirtChannelsCtx[src]

Auto Trait Implementations

impl<ConnectionSeq, UserCallback> !RefUnwindSafe for Sharee<ConnectionSeq, UserCallback>

impl<ConnectionSeq, UserCallback> !Send for Sharee<ConnectionSeq, UserCallback>

impl<ConnectionSeq, UserCallback> !Sync for Sharee<ConnectionSeq, UserCallback>

impl<ConnectionSeq, UserCallback> Unpin for Sharee<ConnectionSeq, UserCallback> where
    ConnectionSeq: Unpin,
    UserCallback: Unpin

impl<ConnectionSeq, UserCallback> !UnwindSafe for Sharee<ConnectionSeq, UserCallback>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.