pub fn allowed_by_options(&self, options: &Options) -> bool {
        match self.authenticator_metadata {
            AuthenticatorMetadata::NullKey(_) => options.allow_null,
            AuthenticatorMetadata::ScryptOnly(_) => options.allow_scrypt,
        }
    }
/// Returns true iff this type of metadata is allowed by the supplied command line options.
Returns true iff this type of metadata is allowed by the supplied command line options.
Returns true iff this type of metadata is allowed by the supplied command line options .
pub fn allowed_by_options(&self, options: &Options) -> bool {
        match self.authenticator_metadata {
            AuthenticatorMetadata::NullKey(_) => options.allow_null,
            AuthenticatorMetadata::ScryptOnly(_) => options.allow_scrypt,
        }
    }
pub fn allowed_by_options ( & self , options : & Options ) -> bool { match self . authenticator_metadata { AuthenticatorMetadata :: NullKey ( _ ) => options . allow_null , AuthenticatorMetadata :: ScryptOnly ( _ ) => options . allow_scrypt , } }
Returns true iff this type of metadata is allowed by the supplied command line options.
Returns true iff this type of metadata is allowed by the supplied command line options .
&self
options
&Options
&self
options
&Options