pub enum Error {
Show 14 variants
NotRegistered,
InvalidParam,
NoMemory,
Timeout,
NotSupported,
QueueFull,
MlFailed,
NetRefused,
NetUnreachable,
NetAddrInUse,
NetReset,
NetDnsFail,
NetClosed,
Unknown(i32),
}Expand description
oveRTOS error codes, mapped from C OVE_ERR_* defines.
Variants§
NotRegistered
The requested resource or subsystem has not been registered (OVE_ERR_NOT_REGISTERED).
InvalidParam
One or more parameters passed to the API were invalid (OVE_ERR_INVALID_PARAM).
NoMemory
Heap or static allocation failed (OVE_ERR_NO_MEMORY).
Timeout
The operation did not complete within the allowed time (OVE_ERR_TIMEOUT).
NotSupported
The requested operation is not supported by this platform (OVE_ERR_NOT_SUPPORTED).
QueueFull
The queue was full and the item could not be enqueued (OVE_ERR_QUEUE_FULL).
MlFailed
ML inference or model loading failed (OVE_ERR_ML_FAILED).
NetRefused
Remote peer refused the connection (OVE_ERR_NET_REFUSED).
NetUnreachable
Network or host is unreachable (OVE_ERR_NET_UNREACHABLE).
NetAddrInUse
Local address already in use (OVE_ERR_NET_ADDR_IN_USE).
NetReset
Connection was reset by the remote peer (OVE_ERR_NET_RESET).
NetDnsFail
DNS name resolution failed (OVE_ERR_NET_DNS_FAIL).
NetClosed
Connection closed by the remote peer (OVE_ERR_NET_CLOSED).
Unknown(i32)
An error code not covered by the above variants; the raw code is preserved.