[][src]Trait ssdp::header::HeaderRef

pub trait HeaderRef: Debug {
    fn get<H>(&self) -> Option<&H>
    where
        H: Header + HeaderFormat
;
fn get_raw(&self, name: &str) -> Option<&[Vec<u8>]>; }

Trait for viewing the contents of a header structure.

Required Methods

View a reference to a header field if it exists.

View a reference to the raw bytes of a header field if it exists.

Implementations on Foreign Types

impl<'a, T: ?Sized> HeaderRef for &'a T where
    T: HeaderRef
[src]

impl<'a, T: ?Sized> HeaderRef for &'a mut T where
    T: HeaderRef
[src]

impl HeaderRef for Headers
[src]

Implementors

impl HeaderRef for NotifyMessage
[src]

impl HeaderRef for SearchRequest
[src]

impl HeaderRef for SearchResponse
[src]