pub struct DocumentActor { /* private fields */ }Expand description
The actor task. Constructed by crate::spawn_document.
Implementations§
Source§impl DocumentActor
impl DocumentActor
Sourcepub async fn run(self)
pub async fn run(self)
Drive the actor to completion. Exits when every handle has
been dropped (the mailbox closes). Spawned by
crate::spawn_document onto the shared runtime.
Auto Trait Implementations§
impl !RefUnwindSafe for DocumentActor
impl !UnwindSafe for DocumentActor
impl Freeze for DocumentActor
impl Send for DocumentActor
impl Sync for DocumentActor
impl Unpin for DocumentActor
impl UnsafeUnpin for DocumentActor
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