Home
last modified time | relevance | path

Searched refs:UnitError (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/thiserror/tests/
Dtest_error.rs28 struct UnitError; struct
54 unimplemented_display!(UnitError);
/external/rust/crates/futures-util/src/compat/
Dexecutor.rs3 future::{FutureExt, TryFutureExt, UnitError},
12 pub type Executor01Future = Compat<UnitError<FutureObj<'static, ()>>>;
/external/rust/crates/futures-util/src/future/future/
Dmod.rs92 UnitError<Fut>(
541 fn unit_error(self) -> UnitError<Self> in unit_error()
545 assert_future::<Result<Self::Output, ()>, _>(UnitError::new(self)) in unit_error()
/external/rust/crates/futures-util/src/future/
Dmod.rs24 Flatten, Fuse, FutureExt, Inspect, IntoStream, Map, NeverError, Then, UnitError, MapInto,
/external/rust/crates/futures/tests/
Dauto_traits.rs590 assert_impl!(UnitError<SendFuture>: Send);
591 assert_not_impl!(UnitError<LocalFuture>: Send);
592 assert_impl!(UnitError<SyncFuture>: Sync);
593 assert_not_impl!(UnitError<LocalFuture>: Sync);
594 assert_impl!(UnitError<UnpinFuture>: Unpin);
595 assert_not_impl!(UnitError<PinnedFuture>: Unpin);