pub struct ProcessManager { /* private fields */ }Implementations§
Source§impl ProcessManager
impl ProcessManager
pub async fn spawn<T: Process>( &self, entity: T, start_seq: i64, ) -> Result<Receptor<T>, AlreadyExist>
pub async fn find<T: Process>( &self, id: impl ToEntityId, ) -> Result<Option<Receptor<T>>, InvalidCast>
Trait Implementations§
Source§impl Clone for ProcessManager
impl Clone for ProcessManager
Source§fn clone(&self) -> ProcessManager
fn clone(&self) -> ProcessManager
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ProcessManager
impl Default for ProcessManager
Source§fn default() -> ProcessManager
fn default() -> ProcessManager
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessManager
impl !RefUnwindSafe for ProcessManager
impl Send for ProcessManager
impl Sync for ProcessManager
impl Unpin for ProcessManager
impl !UnwindSafe for ProcessManager
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