Enum Nemo Relay Status
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
Status codes returned by all FFI functions.
Every extern "C" function in this library returns an NemoRelayStatus. On non-Ok returns, call nemo_relay_last_error on the same thread to retrieve a human-readable error message.
Variants
Ok = 0
Ok = 0
Operation completed successfully.
AlreadyExists = 1
AlreadyExists = 1
A resource with the given name already exists.
NotFound = 2
NotFound = 2
The requested resource was not found.
ScopeStackEmpty = 3
ScopeStackEmpty = 3
The scope stack is empty (no active scope).
GuardrailRejected = 4
GuardrailRejected = 4
A guardrail rejected the operation.
Internal = 5
Internal = 5
An internal runtime error occurred.
NullPointer = 6
NullPointer = 6
A required pointer argument was null.
InvalidJson = 7
InvalidJson = 7
A JSON string argument could not be parsed.
InvalidUtf8 = 8
InvalidUtf8 = 8
A C string argument contained invalid UTF-8.
InvalidArg = 9
InvalidArg = 9
A function argument had an invalid value (e.g. malformed UUID).
Trait Implementations
impl Clone for NemoRelayStatus
impl Clone for NemoRelayStatus
clone
fn clone(&self) -> NemoRelayStatus
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for NemoRelayStatus
impl Debug for NemoRelayStatus
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl From<&FlowError> for NemoRelayStatus
impl From<&FlowError> for NemoRelayStatus
from
fn from(e: &FlowError) -> Self
impl PartialEq for NemoRelayStatus
impl PartialEq for NemoRelayStatus
eq
fn eq(&self, other: &NemoRelayStatus) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Copy for NemoRelayStatus
impl Copy for NemoRelayStatus
impl Eq for NemoRelayStatus
impl Eq for NemoRelayStatus
impl StructuralPartialEq for NemoRelayStatus
impl StructuralPartialEq for NemoRelayStatus