Struct abscissa::Components [−][src]
pub struct Components(_);
Collections of components, sorted by dependency ordering
Methods
impl Components
[src]
impl Components
pub fn new(components: Vec<Box<Component>>) -> Self
[src]
pub fn new(components: Vec<Box<Component>>) -> Self
Create a new collection of components
pub fn init<A: Application>(&mut self, app: &A) -> Result<(), FrameworkError>
[src]
pub fn init<A: Application>(&mut self, app: &A) -> Result<(), FrameworkError>
Initialize components and register them with the given application
pub fn shutdown<A: Application>(&self, app: &A) -> Result<(), FrameworkError>
[src]
pub fn shutdown<A: Application>(&self, app: &A) -> Result<(), FrameworkError>
Shutdown components (in the reverse order they were started)
Trait Implementations
impl Default for Components
[src]
impl Default for Components
Auto Trait Implementations
impl Send for Components
impl Send for Components
impl Sync for Components
impl Sync for Components