Finalize

Trait Finalize 

Source
pub trait Finalize
where Self: Stateful,
{ // Required method fn finalize(self) -> Result<(), <Self as Stateful>::Error>; }
Expand description

Attempts to perform an operation after which the object will not be used anymore. Taking the object by value guarantees it won’t be used anymore.

Required Methods§

Source

fn finalize(self) -> Result<(), <Self as Stateful>::Error>

Implementors§