Trait brotli::enc::interface::Nop

source ·
pub trait Nop<T> {
    // Required method
    fn nop() -> T;
}
Expand description

Commands that can instantiate as a no-op should implement this.

Required Methods§

source

fn nop() -> T

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Nop<CopyCommand> for CopyCommand

source§

impl Nop<DictCommand> for DictCommand

source§

impl<SliceType: SliceWrapper<u8> + Default> Nop<LiteralCommand<SliceType>> for LiteralCommand<SliceType>

source§

impl<SliceType: SliceWrapper<u8>> Nop<Command<SliceType>> for Command<SliceType>