pub struct Moved { /* private fields */ }Expand description
One linear move of an existing owner. It retains the exact original admission claim; receiving it creates a new live wrapper, while all aliases of the sender stay revoked. The capability is closed only after this move and any physical borrows have ended.
Implementations§
Source§impl Moved
impl Moved
Revoke a table-owned sender before its admission can suspend. Existing physical calls keep their own pins, but no alias can issue another method after the move.
pub fn nominal(&self) -> &Nominal
Sourcepub fn with_backend<T: Capability, R>(
&self,
operation: impl FnOnce(&T) -> R,
) -> Option<R>
pub fn with_backend<T: Capability, R>( &self, operation: impl FnOnce(&T) -> R, ) -> Option<R>
Inspect the original issuer backend without exposing or duplicating its authority.
Auto Trait Implementations§
impl !RefUnwindSafe for Moved
impl !Send for Moved
impl !Sync for Moved
impl !UnwindSafe for Moved
impl Forget for Moved
impl Freeze for Moved
impl Move for Moved
impl Unpin for Moved
impl UnsafeUnpin for Moved
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