StreamWriteCB

Type Alias StreamWriteCB 

Source
pub type StreamWriteCB = Option<unsafe extern "C" fn(stream: *mut Stream, context: *const c_void) -> bool>;

Aliased Type§

pub enum StreamWriteCB {
    None,
    Some(unsafe extern "C" fn(*mut Stream, *const c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut Stream, *const c_void) -> bool)

Some value of type T.