Struct concurrency_traits::semaphore::FullAsyncSemaphore [−][src]
pub struct FullAsyncSemaphore<C, CS> { /* fields omitted */ }
Expand description
A semaphore that has asynchronous operations.
Implementations
impl<C, CS> FullAsyncSemaphore<C, CS>
[src]
impl<C, CS> FullAsyncSemaphore<C, CS>
[src]pub fn new(start_count: C) -> Self
[src]
pub fn new(start_count: C) -> Self
[src]Creates a new FullAsyncSemaphore
from a starting count.
Trait Implementations
impl<C, CS> AsyncSemaphore for FullAsyncSemaphore<C, CS> where
C: Zero + One + AddAssign + SubAssign + Send,
CS: ThreadFunctions,
[src]
impl<C, CS> AsyncSemaphore for FullAsyncSemaphore<C, CS> where
C: Zero + One + AddAssign + SubAssign + Send,
CS: ThreadFunctions,
[src]impl<C: Debug, CS: Debug> Debug for FullAsyncSemaphore<C, CS>
[src]
impl<C: Debug, CS: Debug> Debug for FullAsyncSemaphore<C, CS>
[src]impl<C, CS> Default for FullAsyncSemaphore<C, CS> where
C: Zero,
[src]
impl<C, CS> Default for FullAsyncSemaphore<C, CS> where
C: Zero,
[src]impl<C, CS> ReadoutSemaphore for FullAsyncSemaphore<C, CS> where
C: Zero + One + AddAssign + SubAssign + Copy,
CS: ThreadFunctions,
[src]
impl<C, CS> ReadoutSemaphore for FullAsyncSemaphore<C, CS> where
C: Zero + One + AddAssign + SubAssign + Copy,
CS: ThreadFunctions,
[src]impl<C, CS> TrySemaphore for FullAsyncSemaphore<C, CS> where
C: Zero + One + AddAssign + SubAssign,
CS: ThreadFunctions,
[src]
impl<C, CS> TrySemaphore for FullAsyncSemaphore<C, CS> where
C: Zero + One + AddAssign + SubAssign,
CS: ThreadFunctions,
[src]Auto Trait Implementations
impl<C, CS> !RefUnwindSafe for FullAsyncSemaphore<C, CS>
impl<C, CS> Send for FullAsyncSemaphore<C, CS> where
C: Send,
C: Send,
impl<C, CS> Sync for FullAsyncSemaphore<C, CS> where
C: Send,
C: Send,
impl<C, CS> Unpin for FullAsyncSemaphore<C, CS> where
C: Unpin,
C: Unpin,