IsCloseable

Trait IsCloseable 

Source
pub trait IsCloseable: Sealed {
    type AcquireError<P>;
}
Expand description

Whether the semaphore is closeable

Required Associated Types§

Source

type AcquireError<P>

The error returned by acquire. It will be a variant of AcquireError.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§