pub struct FastCgiConfig {
pub addr: String,
pub script_root: String,
pub index: Vec<String>,
pub split_path: Option<String>,
pub env: HashMap<String, String>,
}Expand description
FastCGI handler configuration (e.g. for PHP-FPM).
Fields§
§addr: StringAddress of the FastCGI server, e.g. "127.0.0.1:9000".
script_root: StringDocument root on the FastCGI server.
index: Vec<String>Index filenames for directory requests.
split_path: Option<String>Path-info split marker, e.g. ".php".
env: HashMap<String, String>Extra environment variables.
Trait Implementations§
Source§impl Clone for FastCgiConfig
impl Clone for FastCgiConfig
Source§fn clone(&self) -> FastCgiConfig
fn clone(&self) -> FastCgiConfig
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 FastCgiConfig
impl Debug for FastCgiConfig
Auto Trait Implementations§
impl Freeze for FastCgiConfig
impl RefUnwindSafe for FastCgiConfig
impl Send for FastCgiConfig
impl Sync for FastCgiConfig
impl Unpin for FastCgiConfig
impl UnsafeUnpin for FastCgiConfig
impl UnwindSafe for FastCgiConfig
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