pub struct Render<'a> {
pub stream: &'a TcpStream,
pub error_page_path: String,
pub restrict_path: Option<&'a [&'a str]>,
}
Fields§
§stream: &'a TcpStream
§error_page_path: String
§restrict_path: Option<&'a [&'a str]>
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Render<'a>
impl<'a> RefUnwindSafe for Render<'a>
impl<'a> Send for Render<'a>
impl<'a> Sync for Render<'a>
impl<'a> Unpin for Render<'a>
impl<'a> UnwindSafe for Render<'a>
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