pub trait BlockValidation {
    // Required methods
    fn flags(&self) -> BlockControlFlags;
    fn set(&mut self, flags: BlockControlFlags);

    // Provided methods
    fn validate(&self) -> Result<(), Error>
       where Self: Sized { ... }
    fn contains(&self, flags: BlockControlFlags) -> bool
       where Self: Sized { ... }
}

Required Methods§

source

fn flags(&self) -> BlockControlFlags

source

fn set(&mut self, flags: BlockControlFlags)

Provided Methods§

source

fn validate(&self) -> Result<(), Error>
where Self: Sized,

source

fn contains(&self, flags: BlockControlFlags) -> bool
where Self: Sized,

Implementors§