#[non_exhaustive]pub enum ProxyTransport {
Stream,
Datagram,
Unspecified,
}Available on crate feature
proxy only.Expand description
The transport of the proxied connection.
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.
Trait Implementations§
Source§impl Clone for ProxyTransport
impl Clone for ProxyTransport
impl Copy for ProxyTransport
Source§impl Debug for ProxyTransport
impl Debug for ProxyTransport
impl Eq for ProxyTransport
Source§impl PartialEq for ProxyTransport
impl PartialEq for ProxyTransport
impl StructuralPartialEq for ProxyTransport
Auto Trait Implementations§
impl Freeze for ProxyTransport
impl RefUnwindSafe for ProxyTransport
impl Send for ProxyTransport
impl Sync for ProxyTransport
impl Unpin for ProxyTransport
impl UnsafeUnpin for ProxyTransport
impl UnwindSafe for ProxyTransport
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