Function radius::core::rfc2869::lookup_prompt[][src]

pub fn lookup_prompt(packet: &Packet) -> Option<Result<Prompt, AVPError>>
Expand description

Lookup a prompt value-defined integer value from a packet.

It returns the first looked up value. If there is no associated value with prompt, it returns None.