Searched refs:try_from (Results 1 – 9 of 9) sorted by relevance
33 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() method47 fn try_from(value: &str) -> Result<Self, Self::Error> { in try_from() method54 hash_signed_data.push(SingleSignedData::try_from(single_hash_data)?); in try_from()
49 match HashSignedData::try_from(hsd.unwrap()) { in LoadHashSignedData()
65 CommonAction::try_from((code >> ACTIONSHIFT) & ACTIONMASK) in split_action()71 Intention::try_from((code >> INTENTIONSHIFT) & INTENTIONMASK) in split_intention()
41 fn try_from(code: u32) -> std::result::Result<Self, Self::Error> {71 match $name::try_from(val) {
40 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() method
136 match BasicParamID::try_from(id) { in control()
53 match <dyn IDeviceStatus as FromRemoteObj>::try_from(obj) { in connect()
58 fn try_from(code: u32) -> IpcResult<Self> { in try_from() method
454 let method = Method::try_from(method).unwrap(); in build_request_builder()