Function radius::core::rfc2865::lookup_user_name [−][src]
pub fn lookup_user_name(packet: &Packet) -> Option<Result<String, AVPError>>
Expand description
Lookup a user_name
string value from a packet.
It returns the first looked up value. If there is no associated value with user_name
, it returns None
.