Trait Clearing

Source
pub trait Clearing {
    const EMPTY_FN: EmptyFn;
}
Expand description

Clearing parameter

Required Associated Constants§

Source

const EMPTY_FN: EmptyFn

Empty behavior definition

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Clearing for DoClear

Source§

const EMPTY_FN: EmptyFn = {raw::empty as fn() -> core::result::Result<(), error_code::ErrorCode>}

Source§

impl Clearing for NoClear

Source§

const EMPTY_FN: EmptyFn = {options::noop as fn() -> core::result::Result<(), error_code::ErrorCode>}