pub struct CompositePlugin { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Plugin for CompositePlugin
impl Plugin for CompositePlugin
fn name(&self) -> &str
fn on_register<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn on_unregister<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn on_before_request<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 mut PluginContext,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn on_after_response<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 mut PluginContext,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn on_error<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 mut PluginContext,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn priority(&self) -> PluginPriority
fn on_stream_event<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 mut PluginContext,
_event: &'life2 Value,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for CompositePlugin
impl !RefUnwindSafe for CompositePlugin
impl Send for CompositePlugin
impl Sync for CompositePlugin
impl Unpin for CompositePlugin
impl UnsafeUnpin for CompositePlugin
impl !UnwindSafe for CompositePlugin
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