pub enum ProxyV2Dummy {}Expand description
A dummy implementation of the TVL protocol extension.
Trait Implementations§
Source§impl Clone for ProxyV2Dummy
impl Clone for ProxyV2Dummy
Source§fn clone(&self) -> ProxyV2Dummy
fn clone(&self) -> ProxyV2Dummy
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 ProxyV2Dummy
impl Debug for ProxyV2Dummy
Source§impl Display for ProxyV2Dummy
impl Display for ProxyV2Dummy
Source§impl<'zc> PP2TlvRestore<'zc> for ProxyV2Dummy
impl<'zc> PP2TlvRestore<'zc> for ProxyV2Dummy
type TlvTblRes = PP2Tlvs<'zc>
Source§fn is_in_range(_tlv_type: u8, _tlv_parent_type: Option<u8>) -> bool
fn is_in_range(_tlv_type: u8, _tlv_parent_type: Option<u8>) -> bool
Checks if the current TLV is in range of the
tlv_parent_type parent. If
tlv_parent_type is None then the tlv_type can be checked against the
main range. The tlv_parent_type is set when the current tlv_type is a
subset of the parent. Read moreSource§fn contains_subtype(_item: &Self::TlvTblRes) -> bool
fn contains_subtype(_item: &Self::TlvTblRes) -> bool
Should return
true if the current instance contains subtypes.Source§fn restore(
_tlv_type: u8,
_cur: &mut Cursor<&[u8]>,
) -> HaProxRes<Self::TlvTblRes>
fn restore( _tlv_type: u8, _cur: &mut Cursor<&[u8]>, ) -> HaProxRes<Self::TlvTblRes>
A function which is called when the parsing reaches the TLV’s payload. The cursor
is poiniting to the beginning of the payload and the inner buffer is a slice
from the main buffer of size of the TLV’s payload. Read more
Auto Trait Implementations§
impl Freeze for ProxyV2Dummy
impl RefUnwindSafe for ProxyV2Dummy
impl Send for ProxyV2Dummy
impl Sync for ProxyV2Dummy
impl Unpin for ProxyV2Dummy
impl UnwindSafe for ProxyV2Dummy
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