pub struct HostInfo {
pub hostname: Cow<'static, str>,
pub port: NonZeroU16,
pub secure: bool,
}Fields§
§hostname: Cow<'static, str>§port: NonZeroU16§secure: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for HostInfo
impl Send for HostInfo
impl Sync for HostInfo
impl Unpin for HostInfo
impl UnwindSafe for HostInfo
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