pub enum UpstreamTransport {
Auto,
Udp,
TcpInterleaved,
}Expand description
Upstream transport selection for proxy and client connections.
Variants§
Trait Implementations§
Source§impl Clone for UpstreamTransport
impl Clone for UpstreamTransport
Source§fn clone(&self) -> UpstreamTransport
fn clone(&self) -> UpstreamTransport
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 moreimpl Copy for UpstreamTransport
Source§impl Debug for UpstreamTransport
impl Debug for UpstreamTransport
impl Eq for UpstreamTransport
Source§impl PartialEq for UpstreamTransport
impl PartialEq for UpstreamTransport
impl StructuralPartialEq for UpstreamTransport
Auto Trait Implementations§
impl Forget for UpstreamTransport
impl Freeze for UpstreamTransport
impl Move for UpstreamTransport
impl RefUnwindSafe for UpstreamTransport
impl Send for UpstreamTransport
impl Sync for UpstreamTransport
impl Unpin for UpstreamTransport
impl UnsafeUnpin for UpstreamTransport
impl UnwindSafe for UpstreamTransport
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