Home
last modified time | relevance | path

Searched defs:Permit (Results 1 – 2 of 2) sorted by relevance

/external/rust/android-crates-io/crates/tokio/src/sync/mpsc/
Dbounded.rs67 pub struct Permit<'a, T> { struct
71 /// An [`Iterator`] of [`Permit`] that can be used to hold `n` slots in the channel. argument
1650 impl<T> Permit<'_, T> { impl
1693 impl<T> Drop for Permit<'_, T> { implementation
1710 impl<T> fmt::Debug for Permit<'_, T> { implementation
/external/rust/android-crates-io/crates/tokio/tests/
Dsync_mpsc.rs28 impl<'a, T> AssertRefUnwindSafe for mpsc::Permit<'a, T> {} implementation
40 impl<'a, T> AssertUnwindSafe for mpsc::Permit<'a, T> {} implementation