Initialize

Trait Initialize 

Source
pub trait Initialize
where Self: Stateful + Sized,
{ // Required method fn initialize(&mut self) -> Result<Self, <Self as Stateful>::Error>; }
Expand description

Attempts to initialize an object.

Required Methods§

Source

fn initialize(&mut self) -> Result<Self, <Self as Stateful>::Error>

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§