Trait vector::sinks::prelude::MetaDescriptive

source ·
pub trait MetaDescriptive {
    // Required methods
    fn get_metadata(&self) -> &RequestMetadata;
    fn metadata_mut(&mut self) -> &mut RequestMetadata;
}
Expand description

Objects implementing this trait have metadata that describes the request.

Required Methods§

source

fn get_metadata(&self) -> &RequestMetadata

Returns the RequestMetadata associated with this object.

source

fn metadata_mut(&mut self) -> &mut RequestMetadata

Implementors§