Lines Matching refs:FromIBinder

81     Self::Target: FromIBinder,
95 Self::Target: FromIBinder,
365 pub struct Strong<I: FromIBinder + ?Sized>(Box<I>);
367 impl<I: FromIBinder + ?Sized> Strong<I> {
385 FromIBinder::try_from(self.0.as_binder()).unwrap() in into_async()
395 FromIBinder::try_from(self.0.as_binder()).unwrap() in into_sync()
399 impl<I: FromIBinder + ?Sized> Clone for Strong<I> {
404 FromIBinder::try_from(self.0.as_binder()).unwrap() in clone()
408 impl<I: FromIBinder + ?Sized> Borrow<I> for Strong<I> {
414 impl<I: FromIBinder + ?Sized> AsRef<I> for Strong<I> {
420 impl<I: FromIBinder + ?Sized> Deref for Strong<I> {
428 impl<I: FromIBinder + fmt::Debug + ?Sized> fmt::Debug for Strong<I> {
434 impl<I: FromIBinder + ?Sized> Ord for Strong<I> {
440 impl<I: FromIBinder + ?Sized> PartialOrd for Strong<I> {
446 impl<I: FromIBinder + ?Sized> PartialEq for Strong<I> {
452 impl<I: FromIBinder + ?Sized> Eq for Strong<I> {}
456 pub struct Weak<I: FromIBinder + ?Sized> {
461 impl<I: FromIBinder + ?Sized> Weak<I> {
471 self.weak_binder.promote().ok_or(StatusCode::DEAD_OBJECT).and_then(FromIBinder::try_from) in upgrade()
475 impl<I: FromIBinder + ?Sized> Clone for Weak<I> {
481 impl<I: FromIBinder + ?Sized> Ord for Weak<I> {
487 impl<I: FromIBinder + ?Sized> PartialOrd for Weak<I> {
493 impl<I: FromIBinder + ?Sized> PartialEq for Weak<I> {
499 impl<I: FromIBinder + ?Sized> Eq for Weak<I> {}
638 pub trait FromIBinder: Interface { interface
959 impl $crate::FromIBinder for dyn $interface {
1027 impl<P: $crate::BinderAsyncPool + 'static> $crate::FromIBinder for dyn $async_interface<P> {