Searched refs:try_from (Results 1 – 7 of 7) sorted by relevance
38 fn try_from(value: i64) -> Result<Self, Self::Error> {49 fn try_from(value: ciborium::value::Integer) -> Result<Self, Self::Error> {
140 fn try_from(value: &ProtectedHeader) -> Result<EncryptionHeader, Self::Error> { in try_from() method194 fn try_from(value: &EncryptionHeader) -> Result<Header, Self::Error> { in try_from() method
150 fn try_from(value: &binder::Strong<dyn IOpaqueKey>) -> Result<OpaqueKey, Self::Error> { in try_from() method
57 fn try_from(value: u32) -> Result<SystemStateFlag, Self::Error> { in try_from() method92 fn try_from(value: u64) -> Result<ProvisioningAllowedFlagValues, Self::Error> { in try_from() method
249 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
154 hwkey::OsRollbackVersion::try_from(v) in convert_key()
176 ProvisioningAllowedFlagValues::try_from(flag).map_err(|e| { in get_system_state_provisioning_flag()