Docs.rs
  • moto-rt-0.2.8
    • moto-rt 0.2.8
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • lasiotus
    • Dependencies
      • rustc-std-workspace-alloc ^1.0.0 normal optional
      • compiler_builtins ^0.1 normal optional
      • rustc-std-workspace-core ^1.0.0 normal optional
    • Versions
    • 9.97% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

moto_rt0.2.8

Module error

Module Items

  • Constants
  • Functions
  • Type Aliases

In crate moto_rt

moto_rt

Module error

Source
Expand description

Common Motor OS error codes.

Constants§

E_ALREADY_IN_USE
E_BAD_HANDLE
E_BUFFER_FULL
E_FILE_TOO_LARGE
E_INTERNAL_ERROR
E_INVALID_ARGUMENT
E_INVALID_FILENAME
E_MAX
E_NOT_ALLOWED
E_NOT_A_DIRECTORY
E_NOT_CONNECTED
E_NOT_FOUND
E_NOT_IMPLEMENTED
E_NOT_READY
E_OK
E_OUT_OF_MEMORY
E_TIMED_OUT
E_UNEXPECTED_EOF
E_UNKNOWN
E_UNSPECIFIED
E_VERSION_TOO_HIGH
E_VERSION_TOO_LOW

Functions§

log_backtrace
Log backtrace to rt_fd. If rt_fd is < 0, logs to the kernel log.
log_panic
log_to_kernel
moturus_log_panics_to_kernel
ok_or_error

Type Aliases§

ErrorCode