pub struct ServeReport {
pub addr: SocketAddr,
pub ceiling: ProtocolVersion,
}Expand description
What HttpBuilder::bind reports.
The address the OS chose rather than the one that was asked for, because
127.0.0.1:0 is the ordinary way to ask for a free port and the address a
caller needs in order to connect is the one that was bound.
Fields§
§addr: SocketAddrThe address actually bound.
ceiling: ProtocolVersionThe revision ceiling pre-handshake sessions were gated with.
The ceiling, not a negotiated revision: no peer has connected yet.
Trait Implementations§
Source§impl Clone for ServeReport
impl Clone for ServeReport
Source§impl Debug for ServeReport
impl Debug for ServeReport
impl Eq for ServeReport
Source§impl PartialEq for ServeReport
impl PartialEq for ServeReport
impl StructuralPartialEq for ServeReport
Auto Trait Implementations§
impl Freeze for ServeReport
impl RefUnwindSafe for ServeReport
impl Send for ServeReport
impl Sync for ServeReport
impl Unpin for ServeReport
impl UnsafeUnpin for ServeReport
impl UnwindSafe for ServeReport
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