Struct deno_http::HttpListenProperties
source · pub struct HttpListenProperties {
pub scheme: &'static str,
pub fallback_host: String,
pub local_port: Option<u16>,
pub stream_type: NetworkStreamType,
}
Fields§
§scheme: &'static str
§fallback_host: String
§local_port: Option<u16>
§stream_type: NetworkStreamType
Trait Implementations§
source§impl Clone for HttpListenProperties
impl Clone for HttpListenProperties
source§fn clone(&self) -> HttpListenProperties
fn clone(&self) -> HttpListenProperties
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for HttpListenProperties
impl Send for HttpListenProperties
impl Sync for HttpListenProperties
impl Unpin for HttpListenProperties
impl UnwindSafe for HttpListenProperties
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