#[non_exhaustive]pub struct HaProxyLayer;
Expand description
Layer to decode the HaProxy Protocol
Implementations§
Source§impl HaProxyLayer
impl HaProxyLayer
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Create a new HaProxyLayer
.
Trait Implementations§
Source§impl Clone for HaProxyLayer
impl Clone for HaProxyLayer
Source§fn clone(&self) -> HaProxyLayer
fn clone(&self) -> HaProxyLayer
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 HaProxyLayer
impl Debug for HaProxyLayer
Source§impl Default for HaProxyLayer
impl Default for HaProxyLayer
Source§fn default() -> HaProxyLayer
fn default() -> HaProxyLayer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HaProxyLayer
impl RefUnwindSafe for HaProxyLayer
impl Send for HaProxyLayer
impl Sync for HaProxyLayer
impl Unpin for HaProxyLayer
impl UnwindSafe for HaProxyLayer
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