Guard

Trait Guard 

Source
pub trait Guard {
    // Required method
    fn finish(&mut self);
}
Expand description

Specifies a method that will be called after every time an element protected by a Mutguard will be mutably borrowed

Required Methods§

Source

fn finish(&mut self)

Implementors§

Source§

impl<'a, T> Guard for MutGuardWrapper<'a, T>