pub struct Server;Expand description
See SERVER for more details.
Trait Implementations§
Source§impl FromHeaders for Server
impl FromHeaders for Server
Source§fn from_headers(headers: &HeaderMap) -> Option<&HeaderValue>
fn from_headers(headers: &HeaderMap) -> Option<&HeaderValue>
Reads a
HeaderValue from HeaderMapSource§fn header_type() -> &'static str
fn header_type() -> &'static str
Returns a header type as
&strAuto Trait Implementations§
impl Freeze for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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