pub struct LogAddress(pub Option<SocketAddr>);Expand description
Renders a socket address, or - when there is none, straight into the
formatter: an access-log line must not build a String per address.
Tuple Fields§
§0: Option<SocketAddr>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogAddress
impl RefUnwindSafe for LogAddress
impl Send for LogAddress
impl Sync for LogAddress
impl Unpin for LogAddress
impl UnsafeUnpin for LogAddress
impl UnwindSafe for LogAddress
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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