Function radius::core::rfc3576::lookup_error_cause[][src]

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

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

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