IsEmpty

Trait IsEmpty 

Source
pub trait IsEmpty {
    // Required method
    fn is_empty(&self) -> bool;
}
Expand description

Artificial trait implemented for AMQPValue to allow reporting whether it can be considered empty.

Required Methods§

Source

fn is_empty(&self) -> bool

Reports whether this AMQPValue may be considered empty (which most likely means an empty string). Note that numerical zero values are not empty. Empty collections, however, are empty.

Implementations on Foreign Types§

Source§

impl IsEmpty for AMQPValue

Source§

fn is_empty(&self) -> bool

Implementors§