pub struct WriteToken { /* private fields */ }Expand description
Opaque token for write access — only the framework can create one.
pub(crate) constructor means plugin crates cannot mint tokens.
The executor creates tokens based on the plugin’s declared
capabilities from PluginConfig.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WriteToken
impl RefUnwindSafe for WriteToken
impl Unpin for WriteToken
impl UnsafeUnpin for WriteToken
impl UnwindSafe for WriteToken
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