pub trait NTSyncObjects:
Sealed
+ Into<EventSources>
+ Clone
+ Copy {
type Status;
// Required methods
fn delete(self) -> Result<(), Error>;
fn read(&self) -> Result<Self::Status, Error>;
}Expand description
NTSyncObjects is an Trait that combines all objects of the API.
Required Associated Types§
Required Methods§
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§
Source§impl NTSyncObjects for Event
impl NTSyncObjects for Event
type Status = EventStatus
Source§impl NTSyncObjects for Mutex
Available on crate feature mutex only.
impl NTSyncObjects for Mutex
Available on crate feature
mutex only.type Status = MutexStatus
Source§impl NTSyncObjects for Semaphore
Available on crate feature semaphore only.
impl NTSyncObjects for Semaphore
Available on crate feature
semaphore only.