pub struct Installed<'local, 'd: 'local, I: Catalog> { /* private fields */ }Expand description
Installed database application owned by one executor generation.
Trait Implementations§
Source§impl<'local, 'd: 'local, I: Catalog> App<'d> for Installed<'local, 'd, I>
impl<'local, 'd: 'local, I: Catalog> App<'d> for Installed<'local, 'd, I>
Source§unsafe fn park<'app, 'driver, 'turn, 'root>(
app: Pin<&'app mut Self>,
(): &mut Self::ParkPlan,
park: Park<'driver, 'turn, 'root, 'd>,
)where
'd: 'driver + 'turn + 'root,
unsafe fn park<'app, 'driver, 'turn, 'root>(
app: Pin<&'app mut Self>,
(): &mut Self::ParkPlan,
park: Park<'driver, 'turn, 'root, 'd>,
)where
'd: 'driver + 'turn + 'root,
§Safety
The root, prepared plan, and park authority belong to this installed owner.
const ROUTES: Routes = settings::Routes::EMPTY
fn select_park() -> Option<Self::ParkPlan>
fn released(released: Released<'_, Self>) -> Released<'_, Self>
fn shutdown<'app, 'turn, 'driver, 'owner>(
shutdown: Shutdown<'app, 'turn, 'driver, 'owner, 'd, Self>,
) -> Shutdown<'app, 'turn, 'driver, 'owner, 'd, Self>where
'd: 'owner,
fn finish<'app, 'finish, 'owner, 'epoch>( finish: Finish<'app, 'finish, 'owner, 'epoch, 'd, Self>, ) -> Finish<'app, 'finish, 'owner, 'epoch, 'd, Self>
fn progress(app: Pin<&Self>, _: Progress<'_, '_, 'd>) -> Progress<'d>
fn stopping(app: Pin<&Self>, _: Progress<'_, '_, 'd>) -> Progress<'d>
Source§const WAKE_ROUTES: Routes = settings::Routes::EMPTY
const WAKE_ROUTES: Routes = settings::Routes::EMPTY
Routes whose installed owners may receive activation.
Source§fn prepare_park(_: Pin<&Self>, _: &mut Self::ParkPlan) -> Option<Count>
fn prepare_park(_: Pin<&Self>, _: &mut Self::ParkPlan) -> Option<Count>
Prepares the selected coordinator shares once after installation.
The count does not exceed
COORDS; field presence and shares remain
stable through finish. None reports count overflow.Source§fn admit(_: Pin<&Self>, needs: &mut Needs) -> Result<(), Claim>
fn admit(_: Pin<&Self>, needs: &mut Needs) -> Result<(), Claim>
Accumulates the routes of the owners actually present in this pinned root.
fn install<'app, 'owner>( install: Install<'app, 'owner, 'd, Self>, ) -> Install<'app, 'owner, 'd, Self>
Source§unsafe fn activate<'app, 'driver, 'turn, 'root>(
_: Pin<&'app mut Self>,
_: Activate<'driver, 'turn, 'root, 'd>,
) -> boolwhere
'd: 'driver,
'd: 'turn,
'd: 'root,
unsafe fn activate<'app, 'driver, 'turn, 'root>(
_: Pin<&'app mut Self>,
_: Activate<'driver, 'turn, 'root, 'd>,
) -> boolwhere
'd: 'driver,
'd: 'turn,
'd: 'root,
Returns whether a present owner handled this activation. On
false,
the caller may continue through the remaining owners of the same root. Read morefn dispatch<'app, 'driver, 'turn, 'root>(
call: Dispatch<'app, 'driver, 'turn, 'root, 'd, Self>,
) -> ControlFlow<Event<'d>>where
'd: 'root,
Self: 'root,
impl<'local, 'd: 'local, I: Catalog> Resume<'d> for Installed<'local, 'd, I>
Auto Trait Implementations§
impl<'local, 'd, I> !RefUnwindSafe for Installed<'local, 'd, I>
impl<'local, 'd, I> !Send for Installed<'local, 'd, I>
impl<'local, 'd, I> !Sync for Installed<'local, 'd, I>
impl<'local, 'd, I> !Unpin for Installed<'local, 'd, I>
impl<'local, 'd, I> !UnwindSafe for Installed<'local, 'd, I>
impl<'local, 'd, I> Freeze for Installed<'local, 'd, I>where
NonNull<Phase<'local, 'd, I>>: Freeze,
PhantomData<(Phase<'local, 'd, I>, PhantomPinned)>: Freeze,
impl<'local, 'd, I> UnsafeUnpin for Installed<'local, 'd, I>where
NonNull<Phase<'local, 'd, I>>: UnsafeUnpin,
PhantomData<(Phase<'local, 'd, I>, PhantomPinned)>: UnsafeUnpin,
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