pub trait HTTP2Frame: DynClone {
    // Required methods
    fn get_flags(&self) -> u8;
    fn get_payload(&self) -> Option<Vec<u8>>;
    fn get_frame_type(&self) -> HTTP2FrameType;
    fn get_frame_type_as_u8(&self) -> u8;
    fn to_vec(self) -> Vec<u8>;
}

Required Methods§

Trait Implementations§

source§

impl Clone for Box<dyn HTTP2Frame>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§