#[non_exhaustive]pub enum RdpMessage {
ConnectionRequest {
cookie_username: Option<String>,
routing_token: Option<String>,
requested_protocols: Option<RdpProtocols>,
},
ConnectionConfirm {
selected_protocol: Option<RdpProtocols>,
negotiation_failure: Option<RdpFailureCode>,
},
}Available on crate feature
rdp only.Expand description
One parsed RDP X.224 frame.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ConnectionRequest
X.224 Connection Request from the initiator. The
cookie_username and routing_token come from the
X.224 user-data area; the requested_protocols from
the RDP Negotiation Request structure (when present).
ConnectionConfirm
X.224 Connection Confirm from the responder.
Trait Implementations§
Source§impl Clone for RdpMessage
impl Clone for RdpMessage
Source§fn clone(&self) -> RdpMessage
fn clone(&self) -> RdpMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RdpMessage
impl Debug for RdpMessage
Source§impl<'de> Deserialize<'de> for RdpMessage
impl<'de> Deserialize<'de> for RdpMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RdpMessage
Source§impl PartialEq for RdpMessage
impl PartialEq for RdpMessage
Source§fn eq(&self, other: &RdpMessage) -> bool
fn eq(&self, other: &RdpMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RdpMessage
impl Serialize for RdpMessage
impl StructuralPartialEq for RdpMessage
Auto Trait Implementations§
impl Freeze for RdpMessage
impl RefUnwindSafe for RdpMessage
impl Send for RdpMessage
impl Sync for RdpMessage
impl Unpin for RdpMessage
impl UnsafeUnpin for RdpMessage
impl UnwindSafe for RdpMessage
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.