pub enum ProxyHeader {
V1,
V2,
}Expand description
Proxy protocol version to prepend to upstream connections.
Variants§
Trait Implementations§
Source§impl Clone for ProxyHeader
impl Clone for ProxyHeader
Source§fn clone(&self) -> ProxyHeader
fn clone(&self) -> ProxyHeader
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 moreimpl Copy for ProxyHeader
Auto Trait Implementations§
impl Freeze for ProxyHeader
impl RefUnwindSafe for ProxyHeader
impl Send for ProxyHeader
impl Sync for ProxyHeader
impl Unpin for ProxyHeader
impl UnwindSafe for ProxyHeader
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