Struct fusen_common::MetaData
source · pub struct MetaData { /* private fields */ }Implementations§
source§impl MetaData
impl MetaData
pub fn get_codec(&self) -> CodecType
pub fn into_inner(self) -> HashMap<String, String>
pub fn get_value(&self, key: &str) -> Option<&String>
pub fn get_iter(&self) -> Iter<'_, String, String>
pub fn clone_map(&self) -> HashMap<String, String>
pub fn insert(&mut self, key: String, value: String) -> Option<String>
pub fn remove(&mut self, key: &str) -> Option<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaData
impl RefUnwindSafe for MetaData
impl Send for MetaData
impl Sync for MetaData
impl Unpin for MetaData
impl UnwindSafe for MetaData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request