Struct miow::Overlapped [] [src]

pub struct Overlapped(_);

A wrapper around OVERLAPPED to provide "rustic" accessors and initializers.

Methods

impl Overlapped
[src]

fn zero() -> Overlapped

Creates a new zeroed out instance of an overlapped I/O tracking state.

This is suitable for passing to methods which will then later get notified via an I/O Completion Port.

fn raw(&self) -> *mut OVERLAPPED

Gain access to the raw underlying data

fn set_offset(&mut self, offset: u64)

Sets the offset inside this overlapped structure.

Note that for I/O operations in general this only has meaning for I/O handles that are on a seeking device that supports the concept of an offset.

fn offset(&self) -> u64

Reads the offset inside this overlapped structure.

fn set_event(&mut self, event: HANDLE)

Sets the hEvent field of this structure.

The event specified can be null.

fn event(&self) -> HANDLE

Reads the hEvent field of this structure, may return null.

Trait Implementations

impl Debug for Overlapped
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Send for Overlapped
[src]

impl Sync for Overlapped
[src]