PipeSideSpaceFreedCallback

Type Alias PipeSideSpaceFreedCallback 

Source
pub type PipeSideSpaceFreedCallback = Option<unsafe extern "C" fn(pipe: *mut PipeSide, context: *mut c_void)>;
Expand description

Callback for when data is read out of the opposite PipeSide.

§Arguments

  • [in] - pipe Pipe side that called the callback
  • [inout] - context Custom context

Aliased Type§

pub enum PipeSideSpaceFreedCallback {
    None,
    Some(unsafe extern "C" fn(*mut PipeSide, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut PipeSide, *mut c_void))

Some value of type T.