#[repr(C)]pub struct Engine { /* private fields */ }
Expand description
The Engine
implementation focuses on aggregating information from various sources,
synchronizing their content, and providing a unified, extensible interface for data.
Implementations§
Source§impl Engine
impl Engine
pub fn new() -> Result<Self, EngineError>
Sourcepub const fn controller(&self) -> &SourceManager
pub const fn controller(&self) -> &SourceManager
returns an immutable reference to the current SourceManager
.
Sourcepub const fn controller_mut(&mut self) -> &mut SourceManager
pub const fn controller_mut(&mut self) -> &mut SourceManager
returns a mutable reference to the current SourceManager
.
Sourcepub const fn pipe_router(&self) -> &Arc<RwLock<PipeRouter>>
pub const fn pipe_router(&self) -> &Arc<RwLock<PipeRouter>>
returns a reference to the PipeRouter
Sourcepub fn pipe_router_mut(&mut self) -> Arc<RwLock<PipeRouter>>
pub fn pipe_router_mut(&mut self) -> Arc<RwLock<PipeRouter>>
returns a mutable reference to the PipeRouter
Sourcepub const fn scheduler_mut(&mut self) -> &mut Scheduler
pub const fn scheduler_mut(&mut self) -> &mut Scheduler
returns a mutable reference to the Scheduler
Sourcepub async fn run(&self) -> Result<(), EngineError>
pub async fn run(&self) -> Result<(), EngineError>
starts the engine
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Engine
impl !RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl !UnwindSafe for Engine
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