Enum Nemo Relay Native Async Callback State

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

1#[repr(u32)]pub enum NemoRelayNativeAsyncCallbackState {
2 Complete = 0,
3 Pending = 1,
4}

Indicates whether an asynchronous native callback settled before returning.

Variants

Complete = 0

Complete = 0

The callback settled its completion before returning.

Pending = 1

Pending = 1

The callback retained its completion for later settlement.

Trait Implementations

impl Clone for NemoRelayNativeAsyncCallbackState

impl Clone for NemoRelayNativeAsyncCallbackState

clone

fn clone(&self) -> NemoRelayNativeAsyncCallbackState

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for NemoRelayNativeAsyncCallbackState

impl Debug for NemoRelayNativeAsyncCallbackState

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl PartialEq for NemoRelayNativeAsyncCallbackState

impl PartialEq for NemoRelayNativeAsyncCallbackState

eq

fn eq(&self, other: &NemoRelayNativeAsyncCallbackState) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl TryFrom<u32> for NemoRelayNativeAsyncCallbackState

impl TryFrom<u32> for NemoRelayNativeAsyncCallbackState

Error

type Error = ()

try_from

fn try_from(value: u32) -> Result<Self, Self::Error>

impl Copy for NemoRelayNativeAsyncCallbackState

impl Copy for NemoRelayNativeAsyncCallbackState

impl Eq for NemoRelayNativeAsyncCallbackState

impl Eq for NemoRelayNativeAsyncCallbackState

impl StructuralPartialEq for NemoRelayNativeAsyncCallbackState

impl StructuralPartialEq for NemoRelayNativeAsyncCallbackState