[][src]Enum ironrdp::ShareDataPdu

pub enum ShareDataPdu {
    Synchronize(SynchronizePdu),
    Control(ControlPdu),
    FontList(FontPdu),
    FontMap(FontPdu),
    MonitorLayout(MonitorLayoutPdu),
    SaveSessionInfo(SaveSessionInfoPdu),
    FrameAcknowledge(FrameAcknowledgePdu),
    ServerSetErrorInfo(ServerSetErrorInfoPdu),
}

Variants

Synchronize(SynchronizePdu)
Control(ControlPdu)
FontList(FontPdu)
FontMap(FontPdu)
MonitorLayout(MonitorLayoutPdu)
SaveSessionInfo(SaveSessionInfoPdu)
FrameAcknowledge(FrameAcknowledgePdu)
ServerSetErrorInfo(ServerSetErrorInfoPdu)

Implementations

impl ShareDataPdu[src]

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

impl ShareDataPdu[src]

pub fn from_type(
    stream: impl Read,
    share_type: ShareDataPduType
) -> 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) -> ShareDataPduType[src]

Trait Implementations

impl Clone for ShareDataPdu[src]

impl Debug for ShareDataPdu[src]

impl PartialEq<ShareDataPdu> for ShareDataPdu[src]

impl StructuralPartialEq for ShareDataPdu[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.