Searched refs:try_from (Results 1 – 7 of 7) sorted by relevance
129 fn try_from(stability: i32) -> Result<Stability> { in try_from() method385 FromIBinder::try_from(self.0.as_binder()).unwrap() in into_async()395 FromIBinder::try_from(self.0.as_binder()).unwrap() in into_sync()404 FromIBinder::try_from(self.0.as_binder()).unwrap() in clone()471 self.weak_binder.promote().ok_or(StatusCode::DEAD_OBJECT).and_then(FromIBinder::try_from) in upgrade()643 fn try_from(ibinder: SpIBinder) -> Result<Strong<Self>>; in try_from() method960 …fn try_from(mut ibinder: $crate::SpIBinder) -> std::result::Result<$crate::Strong<dyn $interface>,…979 std::convert::TryFrom::try_from(ibinder.clone());1028 …fn try_from(mut ibinder: $crate::SpIBinder) -> std::result::Result<$crate::Strong<dyn $async_inter…
139 FromIBinder::try_from(service) in interface_cast()
430 fn try_from(mut ibinder: SpIBinder) -> Result<Self> { in try_from() method
108 FromIBinder::try_from(self) in into_interface()
221 FromIBinder::try_from(service) in get_interface()
103 fn try_from(c: u32) -> Result<Self, Self::Error> { in try_from() method860 let extension: Strong<dyn ITest> = FromIBinder::try_from(extension) in test_extensions()885 FromIBinder::try_from(service.as_binder()) in associate_existing_class()
798 i32::deserialize(parcel).and_then(Stability::try_from) in deserialize()865 FromIBinder::try_from(ibinder) in deserialize()873 fn try_from(_: SpIBinder) -> Result<Strong<Self>> { in try_from() method881 ibinder.map(FromIBinder::try_from).transpose() in deserialize_option()