pub struct ExtensionRegistry { /* private fields */ }Expand description
Extension registry for system-wide extension management.
Implementations§
Source§impl ExtensionRegistry
impl ExtensionRegistry
Sourcepub fn manager(
&self,
) -> ExtensionResult<RwLockReadGuard<'_, HTTExtensionManager>>
pub fn manager( &self, ) -> ExtensionResult<RwLockReadGuard<'_, HTTExtensionManager>>
Get a read-only reference to the extension manager.
Sourcepub fn manager_mut(
&self,
) -> ExtensionResult<RwLockWriteGuard<'_, HTTExtensionManager>>
pub fn manager_mut( &self, ) -> ExtensionResult<RwLockWriteGuard<'_, HTTExtensionManager>>
Get a mutable reference to the extension manager.
Auto Trait Implementations§
impl Freeze for ExtensionRegistry
impl RefUnwindSafe for ExtensionRegistry
impl Send for ExtensionRegistry
impl Sync for ExtensionRegistry
impl Unpin for ExtensionRegistry
impl UnsafeUnpin for ExtensionRegistry
impl UnwindSafe for ExtensionRegistry
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