pub struct Hello {
pub token: Option<String>,
pub peer: SocketAddr,
}Expand description
What a client said when it connected, and where from.
Fields§
§token: Option<String>The credential presented, if any. Its meaning is the resolver’s.
peer: SocketAddrThe peer address (after TLS, if any).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Hello
impl Freeze for Hello
impl Move for Hello
impl RefUnwindSafe for Hello
impl Send for Hello
impl Sync for Hello
impl Unpin for Hello
impl UnsafeUnpin for Hello
impl UnwindSafe for Hello
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<New, Old> UpcastFrom<Old> for Newwhere
New: From<Old>,
impl<New, Old> UpcastFrom<Old> for Newwhere
New: From<Old>,
Source§fn upcast_from(old: Old) -> New
fn upcast_from(old: Old) -> New
Converts the older event into this one.