#[repr(C)]pub enum RnsEmbeddedV1NodeErrorCode {
Show 16 variants
Unknown = 0,
InvalidConfig = 1,
IoError = 2,
NetworkError = 3,
ReticulumError = 4,
AlreadyRunning = 5,
NotRunning = 6,
Timeout = 7,
InternalError = 8,
InvalidHandle = 9,
InvalidPointer = 10,
ModeConflict = 11,
SubscriptionClosed = 12,
NodeRestarted = 13,
EventGap = 14,
QueuePressure = 15,
}Variants§
Unknown = 0
Unspecified node-centric failure.
InvalidConfig = 1
Caller supplied an invalid or unsupported node configuration.
IoError = 2
The node hit an IO or backend state failure.
NetworkError = 3
The active backend or link is disconnected or unavailable.
ReticulumError = 4
The underlying embedded protocol/runtime rejected the operation.
AlreadyRunning = 5
The node is already running for the requested lifecycle transition.
NotRunning = 6
The operation requires a running node.
Timeout = 7
The requested wait budget elapsed.
InternalError = 8
The runtime or FFI bridge reached an internal invariant failure.
InvalidHandle = 9
The caller passed a null, stale, or mismatched opaque handle.
InvalidPointer = 10
The caller passed an invalid pointer for an input or output buffer.
ModeConflict = 11
The caller mixed manual and managed node progression modes.
SubscriptionClosed = 12
A poll observed that the subscription handle was closed.
NodeRestarted = 13
A poll observed a generation change and the node restarted.
EventGap = 14
A poll observed an event-log gap and advanced to the next retained event.
QueuePressure = 15
The node rejected the operation because queue capacity would be exceeded.
Trait Implementations§
Source§impl Clone for RnsEmbeddedV1NodeErrorCode
impl Clone for RnsEmbeddedV1NodeErrorCode
Source§fn clone(&self) -> RnsEmbeddedV1NodeErrorCode
fn clone(&self) -> RnsEmbeddedV1NodeErrorCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for RnsEmbeddedV1NodeErrorCode
Source§impl Debug for RnsEmbeddedV1NodeErrorCode
impl Debug for RnsEmbeddedV1NodeErrorCode
impl Eq for RnsEmbeddedV1NodeErrorCode
Source§impl PartialEq for RnsEmbeddedV1NodeErrorCode
impl PartialEq for RnsEmbeddedV1NodeErrorCode
Source§fn eq(&self, other: &RnsEmbeddedV1NodeErrorCode) -> bool
fn eq(&self, other: &RnsEmbeddedV1NodeErrorCode) -> bool
self and other values to be equal, and is used by ==.