pub enum MakeDefaultRouteServiceLayerRegistry {}Implementations§
source§impl MakeDefaultRouteServiceLayerRegistry
impl MakeDefaultRouteServiceLayerRegistry
pub fn write<R, F: FnOnce(&mut HashMap<&'static str, ArcMakeDefaultRouteServiceLayer>) -> Result<R, Error>>( f: F ) -> Result<R, Error>
pub fn get(kind: &str) -> Result<ArcMakeDefaultRouteServiceLayer, Error>
pub fn all( ) -> Result<HashMap<&'static str, ArcMakeDefaultRouteServiceLayer>, Error>
source§impl MakeDefaultRouteServiceLayerRegistry
impl MakeDefaultRouteServiceLayerRegistry
pub fn make_all( config: &ServeConfig ) -> Result<Vec<NamedRouteServiceLayer>, Error>
Trait Implementations§
source§impl Clone for MakeDefaultRouteServiceLayerRegistry
impl Clone for MakeDefaultRouteServiceLayerRegistry
source§fn clone(&self) -> MakeDefaultRouteServiceLayerRegistry
fn clone(&self) -> MakeDefaultRouteServiceLayerRegistry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for MakeDefaultRouteServiceLayerRegistry
impl Send for MakeDefaultRouteServiceLayerRegistry
impl Sync for MakeDefaultRouteServiceLayerRegistry
impl Unpin for MakeDefaultRouteServiceLayerRegistry
impl UnwindSafe for MakeDefaultRouteServiceLayerRegistry
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