[][src]Enum ironrdp::ShareControlPdu

pub enum ShareControlPdu {
    ServerDemandActive(ServerDemandActive),
    ClientConfirmActive(ClientConfirmActive),
    Data(ShareDataHeader),
}

Variants

ServerDemandActive(ServerDemandActive)
ClientConfirmActive(ClientConfirmActive)

Implementations

impl ShareControlPdu[src]

pub fn as_short_name(&self) -> &str[src]

impl ShareControlPdu[src]

pub fn from_type(
    stream: impl Read,
    share_type: ShareControlPduType
) -> Result<Self, RdpError>
[src]

pub fn to_buffer(&self, stream: impl Write) -> Result<(), RdpError>[src]

pub fn buffer_length(&self) -> usize[src]

pub fn share_header_type(&self) -> ShareControlPduType[src]

Trait Implementations

impl Clone for ShareControlPdu[src]

impl Debug for ShareControlPdu[src]

impl PartialEq<ShareControlPdu> for ShareControlPdu[src]

impl StructuralPartialEq for ShareControlPdu[src]

Auto Trait Implementations

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> Same<T> for T

type Output = T

Should always be Self

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.