pub enum TransparentProxy {
LocalAddr(IpAddress),
LocalPort(NonZeroU16),
LocalAddrAndPort(IpAddress, NonZeroU16),
}Expand description
Extension type for [fnet_filter::TransparentProxy_].
Variants§
Trait Implementations§
Source§impl Clone for TransparentProxy
impl Clone for TransparentProxy
Source§fn clone(&self) -> TransparentProxy
fn clone(&self) -> TransparentProxy
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 moreSource§impl Debug for TransparentProxy
impl Debug for TransparentProxy
Source§impl PartialEq for TransparentProxy
impl PartialEq for TransparentProxy
Source§fn eq(&self, other: &TransparentProxy) -> bool
fn eq(&self, other: &TransparentProxy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransparentProxy
Auto Trait Implementations§
impl Freeze for TransparentProxy
impl RefUnwindSafe for TransparentProxy
impl Send for TransparentProxy
impl Sync for TransparentProxy
impl Unpin for TransparentProxy
impl UnsafeUnpin for TransparentProxy
impl UnwindSafe for TransparentProxy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.