pub struct ActivityRegistry { /* private fields */ }Implementations§
Source§impl ActivityRegistry
impl ActivityRegistry
pub fn next_activity_id() -> ActivityId
pub async fn find(activity_id: ActivityId) -> Result<Arc<Activity>, AgentError>
pub async fn register(activity: Arc<Activity>) -> Result<(), AgentError>
Auto Trait Implementations§
impl !Freeze for ActivityRegistry
impl !RefUnwindSafe for ActivityRegistry
impl Send for ActivityRegistry
impl Sync for ActivityRegistry
impl Unpin for ActivityRegistry
impl !UnwindSafe for ActivityRegistry
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