pub trait AutoWriteApi {
    type Target;

    // Required method
    fn get_mut(&mut self) -> &mut Self::Target;
}
Expand description

Marker trait used to tell the compiler to automatically implement WriteApi for references to instances of the type. See the Examples section of the ReadWriteApi documentation.

Required Associated Types§

source

type Target

Resulting write guard for the type.

Required Methods§

source

fn get_mut(&mut self) -> &mut Self::Target

Returns write guard for Self.

Implementors§