pub struct ExecutionChildCapability { /* private fields */ }Expand description
Same-thread capability for a synchronous descendant of active trusted work. It expires at that work’s normal completion or unwind. Child reservations cannot release the root owner’s exclusive reservation.
Implementations§
Source§impl ExecutionChildCapability
impl ExecutionChildCapability
pub fn try_lease( &self, current: ExecutionIdentity, ) -> Result<ExecutionLease, ExecutionLeaseError>
Trait Implementations§
Source§impl Clone for ExecutionChildCapability
impl Clone for ExecutionChildCapability
Source§fn clone(&self) -> ExecutionChildCapability
fn clone(&self) -> ExecutionChildCapability
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 moreAuto Trait Implementations§
impl Freeze for ExecutionChildCapability
impl RefUnwindSafe for ExecutionChildCapability
impl !Send for ExecutionChildCapability
impl !Sync for ExecutionChildCapability
impl Unpin for ExecutionChildCapability
impl UnwindSafe for ExecutionChildCapability
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