Struct csp_rdp_t

Source
#[repr(C)]
pub struct csp_rdp_t {
Show 16 fields pub state: csp_rdp_state_t, pub closed_by: u8, pub snd_nxt: u16, pub snd_una: u16, pub snd_iss: u16, pub rcv_cur: u16, pub rcv_irs: u16, pub rcv_lsa: u16, pub window_size: u32, pub conn_timeout: u32, pub packet_timeout: u32, pub delayed_acks: u32, pub ack_timeout: u32, pub ack_delay_count: u32, pub ack_timestamp: u32, pub tx_wait: csp_bin_sem_t,
}
Expand description

RDP Connection

Fields§

§state: csp_rdp_state_t

< Connection state

§closed_by: u8

< Tracks ‘who’ have closed the RDP connection

§snd_nxt: u16

< The sequence number of the next segment that is to be sent

§snd_una: u16

< The sequence number of the oldest unacknowledged segment

§snd_iss: u16

< The initial send sequence number

§rcv_cur: u16

< The sequence number of the last segment received correctly and in sequence

§rcv_irs: u16

< The initial receive sequence number

§rcv_lsa: u16

< The last sequence number acknowledged by the receiver

§window_size: u32§conn_timeout: u32§packet_timeout: u32§delayed_acks: u32§ack_timeout: u32§ack_delay_count: u32§ack_timestamp: u32§tx_wait: csp_bin_sem_t

Trait Implementations§

Source§

impl Clone for csp_rdp_t

Source§

fn clone(&self) -> csp_rdp_t

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for csp_rdp_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.