Function radius::core::rfc2865::lookup_service_type[][src]

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

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

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