Trait RSocketFlags

Source
pub trait RSocketFlags {
    // Required methods
    fn flag_next(&self) -> bool;
    fn flag_metadata(&self) -> bool;
    fn flag_complete(&self) -> bool;
    fn flag_follows(&self) -> bool;
    fn flag_ignore(&self) -> bool;
}
Expand description

Utility trait to check the flags of a frame.

Required Methods§

Source

fn flag_next(&self) -> bool

Check if the next flag is set.

Source

fn flag_metadata(&self) -> bool

Check if the metadata flag is set.

Source

fn flag_complete(&self) -> bool

Check if the complete flag is set.

Source

fn flag_follows(&self) -> bool

Check if the follow flag is set.

Source

fn flag_ignore(&self) -> bool

Check if the ignore flag is set.

Implementors§