pub struct ScgiConfig {
pub addr: String,
pub env: HashMap<String, String>,
}Expand description
SCGI handler configuration.
Fields§
§addr: StringAddress of the SCGI server, e.g. "127.0.0.1:9000".
env: HashMap<String, String>Extra environment variables injected into every request.
Trait Implementations§
Source§impl Clone for ScgiConfig
impl Clone for ScgiConfig
Source§fn clone(&self) -> ScgiConfig
fn clone(&self) -> ScgiConfig
Returns a duplicate 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 moreSource§impl Debug for ScgiConfig
impl Debug for ScgiConfig
Auto Trait Implementations§
impl Freeze for ScgiConfig
impl RefUnwindSafe for ScgiConfig
impl Send for ScgiConfig
impl Sync for ScgiConfig
impl Unpin for ScgiConfig
impl UnsafeUnpin for ScgiConfig
impl UnwindSafe for ScgiConfig
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