Struct limiting_factor::kernel::MinimalService [−][src]
pub struct MinimalService {
pub config: MinimalConfig,
pub routes: Vec<Route>,
}
Expand description
The minimal service allows to spawn a server without any extra feature.
Fields
config: MinimalConfig
routes: Vec<Route>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MinimalService
impl Send for MinimalService
impl Sync for MinimalService
impl Unpin for MinimalService
impl !UnwindSafe for MinimalService
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.