[][src]Struct caminos_lib::Plugs

pub struct Plugs { /* fields omitted */ }

Implementations

impl Plugs[src]

pub fn add_router(
    &mut self,
    key: String,
    builder: fn(_: RouterBuilderArgument<'_>) -> Rc<RefCell<dyn Router>>
)
[src]

pub fn add_topology(
    &mut self,
    key: String,
    builder: fn(_: TopologyBuilderArgument<'_>) -> Box<dyn Topology>
)
[src]

pub fn add_traffic(
    &mut self,
    key: String,
    builder: fn(_: TrafficBuilderArgument<'_>) -> Box<dyn Traffic>
)
[src]

pub fn add_routing(
    &mut self,
    key: String,
    builder: fn(_: RoutingBuilderArgument<'_>) -> Box<dyn Routing>
)
[src]

pub fn add_policy(
    &mut self,
    key: String,
    builder: fn(_: VCPolicyBuilderArgument<'_>) -> Box<dyn VirtualChannelPolicy>
)
[src]

pub fn add_pattern(
    &mut self,
    key: String,
    builder: fn(_: PatternBuilderArgument<'_>) -> Box<dyn Pattern>
)
[src]

Trait Implementations

impl Debug for Plugs[src]

impl Default for Plugs[src]

Auto Trait Implementations

impl RefUnwindSafe for Plugs

impl Send for Plugs

impl Sync for Plugs

impl Unpin for Plugs

impl UnwindSafe for Plugs

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.