Skip to main content

SetPassword

Trait SetPassword 

Source
pub trait SetPassword {
    // Required method
    fn set_password(&mut self, password: &str) -> Option<()>;
}

Required Methods§

Source

fn set_password(&mut self, password: &str) -> Option<()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§