pub struct CgiConfig {
pub root: String,
pub env: HashMap<String, String>,
}Expand description
CGI handler configuration.
Fields§
§root: StringFilesystem root from which CGI scripts are resolved.
env: HashMap<String, String>Extra environment variables injected into every CGI invocation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CgiConfig
impl RefUnwindSafe for CgiConfig
impl Send for CgiConfig
impl Sync for CgiConfig
impl Unpin for CgiConfig
impl UnsafeUnpin for CgiConfig
impl UnwindSafe for CgiConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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