pub type Dart_ServiceStreamCancelCallback = Option<unsafe extern "C" fn(stream_id: *const c_char)>;
Expand description

A callback invoked when the VM service gets a request to cancel some stream.

Aliased Type§

enum Dart_ServiceStreamCancelCallback {
    None,
    Some(unsafe extern "C" fn(_: *const i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const i8))

Some value of type T.