pub trait IsEmpty { // Required method fn is_empty(&self) -> bool; }
Artificial trait implemented for AMQPValue to allow reporting whether it can be considered empty.
AMQPValue
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.