pub enum RDCleanPath {
Request {
destination: String,
proxy_auth: String,
server_auth: Option<String>,
preconnection_blob: Option<String>,
x224_connection_request: OctetString,
},
Response {
x224_connection_response: OctetString,
server_cert_chain: Vec<OctetString>,
server_addr: String,
},
GeneralErr(RDCleanPathErr),
NegotiationErr {
x224_connection_response: Vec<u8>,
},
}Expand description
Helper enum to leverage Rust pattern matching feature.
Variants§
Request
Fields
§
x224_connection_request: OctetStringResponse
GeneralErr(RDCleanPathErr)
NegotiationErr
Implementations§
Source§impl RDCleanPath
impl RDCleanPath
pub fn into_pdu(self) -> RDCleanPathPdu
Trait Implementations§
Source§impl Clone for RDCleanPath
impl Clone for RDCleanPath
Source§fn clone(&self) -> RDCleanPath
fn clone(&self) -> RDCleanPath
Returns a duplicate 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 RDCleanPath
impl Debug for RDCleanPath
Source§impl From<RDCleanPath> for RDCleanPathPdu
impl From<RDCleanPath> for RDCleanPathPdu
Source§fn from(value: RDCleanPath) -> Self
fn from(value: RDCleanPath) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RDCleanPath
impl PartialEq for RDCleanPath
Source§impl TryFrom<RDCleanPathPdu> for RDCleanPath
impl TryFrom<RDCleanPathPdu> for RDCleanPath
Source§type Error = MissingRDCleanPathField
type Error = MissingRDCleanPathField
The type returned in the event of a conversion error.
impl Eq for RDCleanPath
impl StructuralPartialEq for RDCleanPath
Auto Trait Implementations§
impl Freeze for RDCleanPath
impl RefUnwindSafe for RDCleanPath
impl Send for RDCleanPath
impl Sync for RDCleanPath
impl Unpin for RDCleanPath
impl UnwindSafe for RDCleanPath
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