Struct caminos_lib::Plugs
source · pub struct Plugs { /* private fields */ }
Implementations§
source§impl Plugs
impl Plugs
pub fn add_router( &mut self, key: String, builder: fn(_: RouterBuilderArgument<'_>) -> Rc<RefCell<dyn Router>> )
pub fn add_topology( &mut self, key: String, builder: fn(_: TopologyBuilderArgument<'_>) -> Box<dyn Topology> )
pub fn add_stage( &mut self, key: String, builder: fn(_: StageBuilderArgument<'_>) -> Box<dyn Stage> )
pub fn add_traffic( &mut self, key: String, builder: fn(_: TrafficBuilderArgument<'_>) -> Box<dyn Traffic> )
pub fn add_routing( &mut self, key: String, builder: fn(_: RoutingBuilderArgument<'_>) -> Box<dyn Routing> )
pub fn add_policy( &mut self, key: String, builder: fn(_: VCPolicyBuilderArgument<'_>) -> Box<dyn VirtualChannelPolicy> )
pub fn add_pattern( &mut self, key: String, builder: fn(_: PatternBuilderArgument<'_>) -> Box<dyn Pattern> )
Trait Implementations§
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§
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