Home
last modified time | relevance | path

Searched refs:try_from (Results 1 – 7 of 7) sorted by relevance

/trusty/user/app/sample/hwcryptohal/server/
Dhelpers.rs38 fn try_from(value: i64) -> Result<Self, Self::Error> {
49 fn try_from(value: ciborium::value::Integer) -> Result<Self, Self::Error> {
Dservice_encryption_key.rs140 fn try_from(value: &ProtectedHeader) -> Result<EncryptionHeader, Self::Error> { in try_from() method
194 fn try_from(value: &EncryptionHeader) -> Result<Header, Self::Error> { in try_from() method
Dopaque_key.rs150 fn try_from(value: &binder::Strong<dyn IOpaqueKey>) -> Result<OpaqueKey, Self::Error> { in try_from() method
/trusty/user/base/lib/system_state/rust/src/
Dlib.rs57 fn try_from(value: u32) -> Result<SystemStateFlag, Self::Error> { in try_from() method
92 fn try_from(value: u64) -> Result<ProvisioningAllowedFlagValues, Self::Error> { in try_from() method
/trusty/user/base/lib/hwkey/rust/src/
Dlib.rs249 os_rollback_version: OsRollbackVersion::try_from(response.os_rollback_version)?, in derive()
334 fn try_from(v: i32) -> Result<OsRollbackVersion, HwkeyError> { in try_from() method
/trusty/user/app/keymint/keys/
Dlegacy.rs154 hwkey::OsRollbackVersion::try_from(v) in convert_key()
/trusty/user/app/keymint/
Dipc_manager.rs176 ProvisioningAllowedFlagValues::try_from(flag).map_err(|e| { in get_system_state_provisioning_flag()