Struct deno_http::HttpConnectionProperties
source · pub struct HttpConnectionProperties {
pub peer_address: Rc<str>,
pub peer_port: Option<u16>,
pub local_port: Option<u16>,
pub stream_type: NetworkStreamType,
}
Fields§
§peer_address: Rc<str>
§peer_port: Option<u16>
§local_port: Option<u16>
§stream_type: NetworkStreamType
Trait Implementations§
source§impl Clone for HttpConnectionProperties
impl Clone for HttpConnectionProperties
source§fn clone(&self) -> HttpConnectionProperties
fn clone(&self) -> HttpConnectionProperties
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 HttpConnectionProperties
impl !Send for HttpConnectionProperties
impl !Sync for HttpConnectionProperties
impl Unpin for HttpConnectionProperties
impl UnwindSafe for HttpConnectionProperties
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