Enum forwarded_header_value::Identifier [−][src]
pub enum Identifier { SocketAddr(SocketAddr), IpAddr(IpAddr), String(String), Unknown, }
Expand description
Remote identifier. This can be an IP:port pair, a bare IP, an underscore-prefixed “obfuscated string”, or unknown.
Variants
Tuple Fields of SocketAddr
0: SocketAddr
Tuple Fields of IpAddr
0: IpAddr
Tuple Fields of String
0: String
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
Blanket Implementations
Mutably borrows from an owned value. Read more