pub struct WebResourceManagerImpl { /* private fields */ }
Trait Implementations§
Source§impl Component for WebResourceManagerImpl
impl Component for WebResourceManagerImpl
Source§impl ComponentDowncast<WebResourceManagerImpl> for WebResourceManagerImpl
impl ComponentDowncast<WebResourceManagerImpl> for WebResourceManagerImpl
Source§impl ComponentDowncast<WebResourceManagerImpl> for dyn WebResourceManager + Sync + Send
impl ComponentDowncast<WebResourceManagerImpl> for dyn WebResourceManager + Sync + Send
Source§impl Lifecycle for WebResourceManagerImpl
impl Lifecycle for WebResourceManagerImpl
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
§fn init<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn init<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Called at initialization
Source§impl WebResourceManager for WebResourceManagerImpl
impl WebResourceManager for WebResourceManagerImpl
Source§fn has(&self, context_path: String) -> bool
fn has(&self, context_path: String) -> bool
Returns true, if a web resource provider exists with the given context path.
Source§fn get(&self, context_path: String) -> Option<Arc<dyn WebResourceProvider>>
fn get(&self, context_path: String) -> Option<Arc<dyn WebResourceProvider>>
Returns the web resource provider with the given context path.
Source§fn get_default(&self) -> Option<Arc<dyn WebResourceProvider>>
fn get_default(&self) -> Option<Arc<dyn WebResourceProvider>>
Returns the default web resource provider.
impl Injectable for WebResourceManagerImpl
Auto Trait Implementations§
impl Freeze for WebResourceManagerImpl
impl !RefUnwindSafe for WebResourceManagerImpl
impl Send for WebResourceManagerImpl
impl Sync for WebResourceManagerImpl
impl Unpin for WebResourceManagerImpl
impl !UnwindSafe for WebResourceManagerImpl
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