pub struct PluginContextFactoryImpl {
pub plugin_context: PluginContextStorage,
/* private fields */
}
Fields§
§plugin_context: PluginContextStorage
The plugin context.
Trait Implementations§
Source§impl Component for PluginContextFactoryImpl
impl Component for PluginContextFactoryImpl
Source§impl ComponentDowncast<PluginContextFactoryImpl> for PluginContextFactoryImpl
impl ComponentDowncast<PluginContextFactoryImpl> for PluginContextFactoryImpl
Source§impl ComponentDowncast<PluginContextFactoryImpl> for dyn PluginContextFactory + Sync + Send
impl ComponentDowncast<PluginContextFactoryImpl> for dyn PluginContextFactory + Sync + Send
Source§impl Lifecycle for PluginContextFactoryImpl
impl Lifecycle for PluginContextFactoryImpl
Source§fn init<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn init<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Called at initialization
Source§fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Called for shutdown
Source§impl PluginContextFactory for PluginContextFactoryImpl
impl PluginContextFactory for PluginContextFactoryImpl
impl Injectable for PluginContextFactoryImpl
Auto Trait Implementations§
impl !Freeze for PluginContextFactoryImpl
impl !RefUnwindSafe for PluginContextFactoryImpl
impl Send for PluginContextFactoryImpl
impl Sync for PluginContextFactoryImpl
impl Unpin for PluginContextFactoryImpl
impl !UnwindSafe for PluginContextFactoryImpl
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more