Struct sawp_diameter::Header[][src]

pub struct Header { /* fields omitted */ }

Implementations

impl Header[src]

pub const REQUEST_FLAG: u8[src]

pub const PROXIABLE_FLAG: u8[src]

pub const ERROR_FLAG: u8[src]

pub const POTENTIALLY_RETRANSMITTED_FLAG: u8[src]

pub const RESERVED_MASK: u8[src]

pub fn is_request(&self) -> bool[src]

If set, the message is a request. If cleared, the message is an answer.

pub fn is_proxiable(&self) -> bool[src]

If set, the message MAY be proxied, relayed, or redirected. If cleared, the message MUST be locally processed.

pub fn is_error(&self) -> bool[src]

If set, the message contains a protocol error, and the message will not conform to the CCF described for this command. Messages with the 'E' bit set are commonly referred to as error messages. This bit MUST NOT be set in request messages

pub fn is_potentially_retransmitted(&self) -> bool[src]

This flag is set after a link failover procedure, to aid the removal of duplicate requests. It is set when resending requests not yet acknowledged, as an indication of a possible duplicate due to a link failure.

pub fn reserved_set(&self) -> bool[src]

These flag bits are reserved for future use; they MUST be set to zero and ignored by the receiver.

pub fn get_reserved(&self) -> u8[src]

pub fn length(&self) -> usize[src]

Length of AVPs

pub fn parse(input: &[u8]) -> IResult<&[u8], Self>[src]

Trait Implementations

impl Debug for Header[src]

impl PartialEq<Header> for Header[src]

impl StructuralPartialEq for Header[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.