pub struct RequestLocalFacts { /* private fields */ }Implementations§
Source§impl RequestLocalFacts
impl RequestLocalFacts
pub fn new(phase: RequestViewPhase) -> Self
Sourcepub fn with_task(self, task: ContextFact<u64>) -> Self
pub fn with_task(self, task: ContextFact<u64>) -> Self
Numeric observation supplied by the real task owner; not execution authority.
pub fn without_scope(self, state: ContextFact<()>) -> Self
pub fn with_db_operation(self, operation: RegisteredContextOperation) -> Self
Trait Implementations§
Source§impl Clone for RequestLocalFacts
impl Clone for RequestLocalFacts
impl Copy for RequestLocalFacts
Auto Trait Implementations§
impl Freeze for RequestLocalFacts
impl RefUnwindSafe for RequestLocalFacts
impl Send for RequestLocalFacts
impl Sync for RequestLocalFacts
impl Unpin for RequestLocalFacts
impl UnsafeUnpin for RequestLocalFacts
impl UnwindSafe for RequestLocalFacts
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