pub struct NativeExtensionCall { /* private fields */ }Expand description
A scoped session view. Field order drops the session BEFORE publishing that the callback finished; close must not observe zero with a keepalive in flight.
Implementations§
Source§impl NativeExtensionCall
impl NativeExtensionCall
pub fn session(&self) -> &ExtensionSession
Auto Trait Implementations§
impl !RefUnwindSafe for NativeExtensionCall
impl !UnwindSafe for NativeExtensionCall
impl Forget for NativeExtensionCall
impl Freeze for NativeExtensionCallwhere
*const ArcInner<PluginKeepalive> is !null: Freeze,
PhantomData<ArcInner<PluginKeepalive>>: Freeze,
*const ArcInner<RegistrySnapshot> is !null: Freeze,
PhantomData<ArcInner<RegistrySnapshot>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<PathBuf>: Freeze,
*const ArcInner<ActionBridge> is !null: Freeze,
PhantomData<ArcInner<ActionBridge>>: Freeze,
*const ArcInner<SuggestService> is !null: Freeze,
PhantomData<ArcInner<SuggestService>>: Freeze,
*const ArcInner<NativeExtensionCustody> is !null: Freeze,
PhantomData<ArcInner<NativeExtensionCustody>>: Freeze,
impl Move for NativeExtensionCall
impl Send for NativeExtensionCallwhere
Arc<PluginKeepalive>: Send,
Arc<RegistrySnapshot>: Send,
RawVecInner: Send,
Arc<ActionBridge>: Send,
Arc<SuggestService>: Send,
Arc<NativeExtensionCustody>: Send,
impl Sync for NativeExtensionCallwhere
Arc<PluginKeepalive>: Sync,
Arc<RegistrySnapshot>: Sync,
RawVecInner: Sync,
Arc<ActionBridge>: Sync,
Arc<SuggestService>: Sync,
Arc<NativeExtensionCustody>: Sync,
impl Unpin for NativeExtensionCallwhere
Arc<PluginKeepalive>: Unpin,
Arc<RegistrySnapshot>: Unpin,
*const u8 is !null: Unpin,
Arc<ActionBridge>: Unpin,
Arc<SuggestService>: Unpin,
Arc<NativeExtensionCustody>: Unpin,
impl UnsafeUnpin for NativeExtensionCallwhere
*const ArcInner<PluginKeepalive> is !null: UnsafeUnpin,
PhantomData<ArcInner<PluginKeepalive>>: UnsafeUnpin,
*const ArcInner<RegistrySnapshot> is !null: UnsafeUnpin,
PhantomData<ArcInner<RegistrySnapshot>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
*const ArcInner<ActionBridge> is !null: UnsafeUnpin,
PhantomData<ArcInner<ActionBridge>>: UnsafeUnpin,
*const ArcInner<SuggestService> is !null: UnsafeUnpin,
PhantomData<ArcInner<SuggestService>>: UnsafeUnpin,
*const ArcInner<NativeExtensionCustody> is !null: UnsafeUnpin,
PhantomData<ArcInner<NativeExtensionCustody>>: 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