pub struct Connect {
pub host: String,
pub port: u16,
pub ip: Option<IpAddr>,
}Expand description
A CONNECT the proxy may consider: a canonical host name and a port.
Fields§
§host: StringThe canonical name, or the address as text (10.0.0.5, [fd00::1]).
port: u16§ip: Option<IpAddr>Set when the target is an IP address (only a user-named IP entry can allow it).
Trait Implementations§
impl Eq for Connect
impl StructuralPartialEq for Connect
Auto Trait Implementations§
impl Forget for Connect
impl Freeze for Connect
impl Move for Connect
impl RefUnwindSafe for Connect
impl Send for Connectwhere
RawVecInner: Send,
impl Sync for Connectwhere
RawVecInner: Sync,
impl Unpin for Connect
impl UnsafeUnpin for Connect
impl UnwindSafe for Connectwhere
RawVecInner: UnwindSafe,
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