Docs.rs
  • raspberry-web-0.1.3
    • raspberry-web 0.1.3
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • bogeholm
    • Dependencies
      • actix ^0.7.9 normal
      • actix-web ^0.7.19 normal
      • chrono ^0.4.6 normal
      • clap ^2.33.0 normal
      • config ^0.9 normal
      • diesel ^1.4.2 normal
      • dotenv ^0.13.0 normal
      • env_logger ^0.6.1 normal
      • futures ^0.1 normal
      • log ^0.4.6 normal
      • parking_lot ^0.7.1 normal
      • r2d2 ^0.8.4 normal
      • r2d2-diesel ^1.0.0 normal
      • serde ^1.0.89 normal
      • serde_derive ^1.0.90 normal
      • serde_json ^1.0.39 normal
      • diesel_migrations ^1.3.0 dev
      • rppal ^0.11.1 normal
    • Versions
    • 22.02% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

raspberry_web0.1.3

Crate Items

  • Structs
  • Enums
  • Constants
  • Functions
  • Type Aliases

List of all items

Structs

  • app::AppState
  • handlers::CheckGpioLevel
  • handlers::DbExecutor
  • handlers::GpioId
  • handlers::SetGpioLevel
  • models::AllowedStates
  • models::Gpio
  • schema::allowed_states::columns::high
  • schema::allowed_states::columns::input
  • schema::allowed_states::columns::low
  • schema::allowed_states::columns::output
  • schema::allowed_states::columns::star
  • schema::allowed_states::columns::state_id
  • schema::allowed_states::columns::state_type
  • schema::allowed_states::table
  • schema::gpio_state::columns::gpio_id
  • schema::gpio_state::columns::gpio_level
  • schema::gpio_state::columns::gpio_mode
  • schema::gpio_state::columns::in_use
  • schema::gpio_state::columns::last_change
  • schema::gpio_state::columns::star
  • schema::gpio_state::table
  • settings::Database
  • settings::GpioConfig
  • settings::Settings
  • settings::Webserver

Enums

  • errors::RpWebError

Functions

  • app::create_app
  • app::gpio_status_route
  • app::set_gpio_level_route
  • cli::get_cli_args
  • rpi::create_gpio_arc_mutex
  • rpi::reset_gpio_output_pin_rpi
  • rpi::set_gpio_level_rpi
  • rpi::set_reset_on_drop_false_for_output_pin_rpi
  • setup::setup_rpi_and_db
  • setup_and_run
  • utilities::get_allowed_states
  • utilities::i32_to_u8
  • utilities::reset_table_gpio_state
  • utilities::set_gpio_in_use_db
  • utilities::set_gpio_level_db
  • utilities::set_gpio_mode_db
  • validation::validate_setup
  • validation::vec_option_to_vec

Type Aliases

  • rpi::GpioArcMutex
  • schema::allowed_states::BoxedQuery
  • schema::allowed_states::SqlType
  • schema::gpio_state::BoxedQuery
  • schema::gpio_state::SqlType

Constants

  • schema::allowed_states::all_columns
  • schema::gpio_state::all_columns