[][src]Struct caminos_lib::traffic::Sum

pub struct Sum { /* fields omitted */ }

Traffic which is the sum of a list of oter traffics. While it will clearly work when the sum of the generation rates is at most 1, it should behave nicely enough otherwise.

Implementations

impl Sum[src]

pub fn new(arg: TrafficBuilderArgument<'_>) -> Sum[src]

Trait Implementations

impl Debug for Sum[src]

impl Quantifiable for Sum[src]

impl Traffic for Sum[src]

Auto Trait Implementations

impl !RefUnwindSafe for Sum

impl !Send for Sum

impl !Sync for Sum

impl Unpin for Sum

impl !UnwindSafe for Sum

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.