pub struct Event(/* private fields */);Expand description
A platform-specific synchronization event.
Implementations§
Trait Implementations§
Source§impl AsHandle for Event
impl AsHandle for Event
Source§fn as_handle(&self) -> BorrowedHandle<'_>
fn as_handle(&self) -> BorrowedHandle<'_>
Borrows the handle. Read more
Source§impl DefaultEncoding for Event
impl DefaultEncoding for Event
Source§type Encoding = ResourceField<OwnedHandle>
type Encoding = ResourceField<OwnedHandle>
The encoding to use for the serialization. Read more
Source§impl From<Event> for OwnedHandle
impl From<Event> for OwnedHandle
Source§fn from(event: Event) -> OwnedHandle
fn from(event: Event) -> OwnedHandle
Converts to this type from the input type.
Source§impl From<OwnedHandle> for Event
impl From<OwnedHandle> for Event
Source§fn from(handle: OwnedHandle) -> Self
fn from(handle: OwnedHandle) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more