Home
last modified time | relevance | path

Searched defs:try_from (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/update/updater/services/rust/hash_signed_data/src/
H A Dhsd.rs33 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() method
47 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/request/
H A Dmethod.rs172 fn try_from(t: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
180 fn try_from(t: &'a str) -> Result<Self, Self::Error> { in try_from() method
/ohos5.0/base/security/asset/interfaces/inner_kits/c/src/
H A Dlib.rs250 fn try_from(vec: &Vec<u8>) -> Result<Self, Self::Error> { in try_from() method
275 fn try_from(value: &Value) -> Result<Self, Self::Error> { in try_from() method
295 fn try_from(map: &AssetMap) -> Result<Self, Self::Error> { in try_from() method
328 fn try_from(maps: &Vec<AssetMap>) -> Result<Self, Self::Error> { in try_from() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/
H A Dmod.rs355 fn try_from(s: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
363 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
616 fn try_from(bytes: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
624 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
730 fn try_from(bytes: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
738 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
868 fn try_from(bytes: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
876 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
921 fn try_from(s: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
929 fn try_from(s: &'a str) -> Result<Self, Self::Error> { in try_from() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/response/
H A Dstatus.rs211 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
219 fn try_from(value: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
/ohos5.0/base/msdp/device_status/rust/utils/src/
H A Derrors.rs49 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/
H A Dversion.rs74 fn try_from(str: &'a str) -> Result<Self, Self::Error> { in try_from() method
H A Dheaders.rs168 fn try_from(pair: (N, V)) -> Result<Self, Self::Error> { in try_from() function
271 fn try_from(name: &str) -> Result<Self, Self::Error> { in try_from() method
279 fn try_from(bytes: &[u8]) -> Result<Self, Self::Error> { in try_from() method
491 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() method
509 fn try_from(value: &[u8]) -> Result<Self, Self::Error> { in try_from() method
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/
H A Dtypes.rs140 fn try_from(value: &Database) -> Result<Self, SyncError> { in try_from() method
231 fn try_from(value: &Table) -> Result<Self, Self::Error> { in try_from() method
272 fn try_from(value: &Field) -> Result<Self, SyncError> { in try_from() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Derror.rs112 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
/ohos5.0/foundation/communication/ipc/example/rust_test/service/src/
H A Dlib.rs75 fn try_from(code: u32) -> IpcResult<Self> { in try_from() method
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/
H A Dconnect.rs372 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method