Struct rocket_client_addr::ClientAddr [−][src]
pub struct ClientAddr {
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 ClientAddr
impl Send for ClientAddr
impl Sync for ClientAddr
impl Unpin for ClientAddr
impl UnwindSafe for ClientAddr
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.