pub enum RdpErrorKind {
Show 16 variants
InvalidData,
InvalidRespond,
NotImplemented,
ProtocolNegFailure,
InvalidAutomata,
InvalidProtocol,
InvalidCast,
InvalidConst,
InvalidChecksum,
InvalidOptionalField,
InvalidSize,
PossibleMITM,
RejectedByServer,
Disconnect,
Unknown,
UnexpectedType,
}
Variants§
InvalidData
Unexpected data
InvalidRespond
Respond from server or client is not valid
NotImplemented
Features not implemented
ProtocolNegFailure
During conncetion sequence A securtiy level is negotiated If no level can be defined a ProtocolNegFailure is emitted
InvalidAutomata
Protocol automata transition is not expected
InvalidProtocol
A security protocol selected was not handled by rdp-rs
InvalidCast
All messages in rdp-rs are based on Message trait To retrieve the original data we used a visitor pattern. If the expected type is not found an InvalidCast error is emited
InvalidConst
If an expected value is not equal
InvalidChecksum
During security exchange some checksum are computed
InvalidOptionalField
InvalidSize
PossibleMITM
A possible Man In The Middle attack detected during NLA Authentication
RejectedByServer
Some channel or user can be rejected by server during connection step
Disconnect
Disconnect receive from server
Unknown
Indicate an unknown field
UnexpectedType
Trait Implementations§
Source§impl Clone for RdpErrorKind
impl Clone for RdpErrorKind
Source§fn clone(&self) -> RdpErrorKind
fn clone(&self) -> RdpErrorKind
Returns a copy of the value. Read more
1.0.0 · 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 RdpErrorKind
impl Debug for RdpErrorKind
Source§impl PartialEq for RdpErrorKind
impl PartialEq for RdpErrorKind
impl Copy for RdpErrorKind
impl Eq for RdpErrorKind
impl StructuralPartialEq for RdpErrorKind
Auto Trait Implementations§
impl Freeze for RdpErrorKind
impl RefUnwindSafe for RdpErrorKind
impl Send for RdpErrorKind
impl Sync for RdpErrorKind
impl Unpin for RdpErrorKind
impl UnwindSafe for RdpErrorKind
Blanket Implementations§
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,
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.