[][src]Struct routinator::output::OutputStream

pub struct OutputStream<T, F, M> { /* fields omitted */ }

Methods

impl<T, F, M> OutputStream<T, F, M> where
    T: AsRef<AddressOrigins>,
    F: AsRef<[Filter]>,
    M: AsRef<Metrics>, 
[src]

pub fn output<W: Write>(&self, target: &mut W) -> Result<(), Error>[src]

pub fn output_len(&self) -> usize[src]

pub fn output_start<W: Write>(&mut self, target: &mut W) -> Result<(), Error>[src]

pub fn output_header<W: Write>(&self, target: &mut W) -> Result<(), Error>[src]

pub fn output_origin<W: Write>(
    &self,
    vrp: &AddressOrigin,
    first: bool,
    target: &mut W
) -> Result<bool, Error>
[src]

Trait Implementations

impl<T, F, M> Iterator for OutputStream<T, F, M> where
    T: AsRef<AddressOrigins>,
    F: AsRef<[Filter]>,
    M: AsRef<Metrics>, 
[src]

type Item = Vec<u8>

The type of the elements being iterated over.

Auto Trait Implementations

impl<T, F, M> Send for OutputStream<T, F, M> where
    F: Send,
    M: Send,
    T: Send

impl<T, F, M> Sync for OutputStream<T, F, M> where
    F: Sync,
    M: Sync,
    T: Sync

impl<T, F, M> Unpin for OutputStream<T, F, M> where
    F: Unpin,
    M: Unpin,
    T: Unpin

impl<T, F, M> UnwindSafe for OutputStream<T, F, M> where
    F: UnwindSafe,
    M: UnwindSafe,
    T: UnwindSafe

impl<T, F, M> RefUnwindSafe for OutputStream<T, F, M> where
    F: RefUnwindSafe,
    M: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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

type Error = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<I> IteratorRandom for I where
    I: Iterator
[src]

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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