MutexProtected

Derive Macro MutexProtected 

Source
#[derive(MutexProtected)]
{
    // Attributes available to this derive:
    #[mutex]
}