Home
last modified time | relevance | path

Searched refs:ToSqlOutput (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore2/src/database/
Dutils.rs205 fn to_sql(&self) -> rusqlite::Result<rusqlite::types::ToSqlOutput> {
/system/security/keystore2/src/
Dkey_parameter.rs108 use rusqlite::types::{Null, ToSql, ToSqlOutput};
393 $enum_name::$vname(v) => Ok(ToSqlOutput::from(v.to_primitive())),
403 $enum_name::$vname => Ok(ToSqlOutput::from(Null)),
408 fn to_sql(&self) -> SqlResult<ToSqlOutput> {
Ddatabase.rs88 types::ToSqlOutput,
262 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument
263 Ok(ToSqlOutput::Owned(Value::Integer(match self { in to_sql()
303 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument
339 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument
341 Self::Password => Ok(ToSqlOutput::Owned(Value::Null)), in to_sql()
402 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument
403 Ok(ToSqlOutput::Owned(Value::Integer(self.0))) in to_sql()
464 fn to_sql(&self) -> rusqlite::Result<ToSqlOutput> { in to_sql() argument
466 Self::Existing => Ok(ToSqlOutput::Owned(Value::Integer(0))), in to_sql()
[all …]