pub enum OpType {
Overlapped,
Blocking,
Event(RawFd),
}
Expand description
Operation type.
Variants§
Overlapped
An overlapped operation.
Blocking
A blocking operation, needs a thread to spawn. The operate
method
should be thread safe.
Event(RawFd)
A Win32 event object to be waited. The user should ensure that the
handle is valid till operation completes. The operate
method should be
thread safe.
Auto Trait Implementations§
impl Freeze for OpType
impl RefUnwindSafe for OpType
impl Send for OpType
impl Sync for OpType
impl Unpin for OpType
impl UnwindSafe for OpType
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