pub struct Config { /* private fields */ }Implementations§
source§impl Config
impl Config
pub fn new( core_service: CoreService, files_dir: PathBuf, temp_dir: PathBuf, content_policy: Option<Arc<dyn ContentPolicy>>, record_policy: Option<Arc<dyn RecordPolicy>> ) -> Self
pub fn into_router(self) -> Router
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
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