[][src]Enum wayk_proto::message::NowMessage

pub enum NowMessage<'a> {
    Handshake(NowHandshakeMsg),
    Negotiate(NowNegotiateMsg),
    Authenticate(NowAuthenticateMsg<'a>),
    Associate(NowAssociateMsg),
    Capabilities(NowCapabilitiesMsg<'a>),
    Channel(NowChannelMsg),
    Activate(NowActivateMsg),
    Terminate(NowTerminateMsg),
    Input(NowInputMsg),
    Surface(NowSurfaceMsg),
    Update(NowUpdateMsg<'a>),
    System(NowSystemMsg),
    Sharing(NowSharingMsg),
    Access(NowAccessMsg),
}

Variants

Handshake(NowHandshakeMsg)
Negotiate(NowNegotiateMsg)
Authenticate(NowAuthenticateMsg<'a>)
Associate(NowAssociateMsg)
Capabilities(NowCapabilitiesMsg<'a>)
Channel(NowChannelMsg)
Activate(NowActivateMsg)
Terminate(NowTerminateMsg)
Surface(NowSurfaceMsg)
Update(NowUpdateMsg<'a>)
System(NowSystemMsg)
Sharing(NowSharingMsg)
Access(NowAccessMsg)

Implementations

impl<'a> NowMessage<'a>[src]

pub fn decode_from<'dec: 'a>(
    msg_type: MessageType,
    cursor: &mut Cursor<&'dec [u8]>
) -> Result<Self>
[src]

pub fn get_type(&self) -> MessageType[src]

Trait Implementations

impl<'a> Clone for NowMessage<'a>[src]

impl<'a> Debug for NowMessage<'a>[src]

impl<'a> Encode for NowMessage<'a>[src]

impl From<NowAccessMsg> for NowMessage<'_>[src]

impl From<NowActivateMsg> for NowMessage<'_>[src]

impl From<NowAssociateMsg> for NowMessage<'_>[src]

impl<'a> From<NowAuthenticateMsg<'a>> for NowMessage<'a>[src]

impl<'a> From<NowCapabilitiesMsg<'a>> for NowMessage<'a>[src]

impl From<NowChannelMsg> for NowMessage<'_>[src]

impl From<NowHandshakeMsg> for NowMessage<'_>[src]

impl From<NowInputMsg> for NowMessage<'_>[src]

impl<'a> From<NowMessage<'a>> for NowBody<'a>[src]

impl From<NowNegotiateMsg> for NowMessage<'_>[src]

impl From<NowSharingMsg> for NowMessage<'_>[src]

impl From<NowSurfaceMsg> for NowMessage<'_>[src]

impl From<NowSystemMsg> for NowMessage<'_>[src]

impl From<NowTerminateMsg> for NowMessage<'_>[src]

impl<'a> From<NowUpdateMsg<'a>> for NowMessage<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for NowMessage<'a>[src]

impl<'a> Send for NowMessage<'a>[src]

impl<'a> Sync for NowMessage<'a>[src]

impl<'a> Unpin for NowMessage<'a>[src]

impl<'a> UnwindSafe for NowMessage<'a>[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.