Struct product_os_capabilities::DefaultFeature
source · pub struct DefaultFeature {}
Trait Implementations§
source§impl Feature for DefaultFeature
impl Feature for DefaultFeature
fn register<'life0, 'life1, 'async_trait>(
&'life0 self,
feature: Arc<dyn Feature>,
__arg2: String,
_: &'life1 mut ProductOSRouter,
) -> Pin<Box<dyn Future<Output = RegistryFeature> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn register_mut<'life0, 'life1, 'async_trait>(
&'life0 self,
feature: Arc<Mutex<dyn Feature>>,
__arg2: String,
_: &'life1 mut ProductOSRouter,
) -> Pin<Box<dyn Future<Output = RegistryFeature> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn identifier(&self) -> String
fn request<'life0, 'async_trait>(
&'life0 self,
__arg1: Request<Body>,
__arg2: String,
) -> Pin<Box<dyn Future<Output = Response<Body>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_mut<'life0, 'async_trait>(
&'life0 mut self,
__arg1: Request<Body>,
__arg2: String,
) -> Pin<Box<dyn Future<Output = Response<Body>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn init_feature<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn init_feature_mut<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for DefaultFeature
impl RefUnwindSafe for DefaultFeature
impl Send for DefaultFeature
impl Sync for DefaultFeature
impl Unpin for DefaultFeature
impl UnwindSafe for DefaultFeature
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