Struct rocket_client_addr::ClientRealAddr [−][src]
pub struct ClientRealAddr {
pub ip: IpAddr,
}Expand description
The request guard used for getting an IP address from a client.
Fields
ip: IpAddrIP address from a client.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ClientRealAddr
impl Send for ClientRealAddr
impl Sync for ClientRealAddr
impl Unpin for ClientRealAddr
impl UnwindSafe for ClientRealAddr
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self into a collection.