Trait quiche::h3::NameValue

source ·
pub trait NameValue {
    // Required methods
    fn name(&self) -> &[u8] ;
    fn value(&self) -> &[u8] ;
}
Expand description

A trait for types with associated string name and value.

Required Methods§

source

fn name(&self) -> &[u8]

Returns the object’s name.

source

fn value(&self) -> &[u8]

Returns the object’s value.

Implementations on Foreign Types§

source§

impl NameValue for (&[u8], &[u8])

source§

fn name(&self) -> &[u8]

source§

fn value(&self) -> &[u8]

Implementors§