pub trait ConvertProtocolNameList {
    // Required methods
    fn from_slices(names: &[&[u8]]) -> Self;
    fn to_slices(&self) -> Vec<&[u8]>;
    fn as_single_slice(&self) -> Option<&[u8]>;
}

Required Methods§

fn from_slices(names: &[&[u8]]) -> Self

fn to_slices(&self) -> Vec<&[u8]>

fn as_single_slice(&self) -> Option<&[u8]>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl ConvertProtocolNameList for Vec<PayloadU8>

§

fn from_slices(names: &[&[u8]]) -> Vec<PayloadU8>

§

fn to_slices(&self) -> Vec<&[u8]>

§

fn as_single_slice(&self) -> Option<&[u8]>

Implementors§