Trait SizedRequest

Source
pub trait SizedRequest {
    // Required methods
    fn size(&self) -> u32;
    fn is_publish(&self) -> bool;
    fn is_chunk(&self) -> bool;
}
Expand description

Trait for types that could be sized

Required Methods§

Source

fn size(&self) -> u32

Source

fn is_publish(&self) -> bool

Source

fn is_chunk(&self) -> bool

Implementations on Foreign Types§

Source§

impl SizedRequest for DispatchItem<Rc<MqttShared>>

Source§

fn size(&self) -> u32

Source§

fn is_publish(&self) -> bool

Source§

fn is_chunk(&self) -> bool

Source§

impl SizedRequest for DispatchItem<Rc<MqttShared>>

Source§

fn size(&self) -> u32

Source§

fn is_publish(&self) -> bool

Source§

fn is_chunk(&self) -> bool

Implementors§