Struct noxious::proxy::Toxics[][src]

pub struct Toxics {
    pub upstream: Vec<Toxic>,
    pub downstream: Vec<Toxic>,
}

Toxics applied on a proxy connection

Fields

upstream: Vec<Toxic>

The toxics applied on the upstream link

downstream: Vec<Toxic>

The toxics applied on the downstream link

Implementations

impl Toxics[src]

pub fn empty() -> Self[src]

Initialize an empty set up toxics

pub fn into_vec(self) -> Vec<Toxic>[src]

Consume this Toxics struct to combine upstream and downstream toxics in a flat unordered vec

pub fn find_by_name(&self, toxic_name: &str) -> Option<Toxic>[src]

Find a toxic by name in upstream and downstream lists

Trait Implementations

impl Clone for Toxics[src]

impl Debug for Toxics[src]

Auto Trait Implementations

impl RefUnwindSafe for Toxics

impl Send for Toxics

impl Sync for Toxics

impl Unpin for Toxics

impl UnwindSafe for Toxics

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,