[][src]Struct ironrdp::TpktHeader

pub struct TpktHeader {
    pub length: usize,
}

Fields

length: usize

Implementations

impl TpktHeader[src]

pub fn new(length: usize) -> Self[src]

impl TpktHeader[src]

pub fn from_buffer_with_version(
    stream: impl Read,
    version: u8
) -> Result<Self, NegotiationError>
[src]

Trait Implementations

impl Debug for TpktHeader[src]

impl PartialEq<TpktHeader> for TpktHeader[src]

impl PduParsing for TpktHeader[src]

type Error = NegotiationError

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