Module api

Module api 

Source
Expand description

ASCOM Alpaca Device API v1

The Alpaca API uses RESTful techniques and TCP/IP to enable ASCOM applications and devices to communicate across modern network environments.

§Interface Versions

These interface definitions include the updates introduced in ASCOM Platform 7.

§Interface Behaviour

The ASCOM Interface behavioural requirements for Alpaca drivers are the same as for COM based drivers and are documented in the API Interface Definitions e.g. the Telescope.SlewToCoordinates method. This document focuses on how to use the ASCOM Interface standards in their RESTful Alpaca form.

Re-exports§

pub use device::Device;
pub use camera::Camera;camera
pub use cover_calibrator::CoverCalibrator;cover_calibrator
pub use dome::Dome;dome
pub use filter_wheel::FilterWheel;filter_wheel
pub use focuser::Focuser;focuser
pub use observing_conditions::ObservingConditions;observing_conditions
pub use rotator::Rotator;rotator
pub use safety_monitor::SafetyMonitor;safety_monitor
pub use switch::Switch;switch
pub use telescope::Telescope;telescope

Modules§

cameracamera
Types related to Camera devices.
cover_calibratorcover_calibrator
Types related to CoverCalibrator devices.
device
Types related to the general Device trait.
domedome
Types related to Dome devices.
filter_wheelfilter_wheel
Types related to FilterWheel devices.
focuserfocuser
Types related to Focuser devices.
observing_conditionsobserving_conditions
Types related to ObservingConditions devices.
rotatorrotator
Types related to Rotator devices.
safety_monitorsafety_monitor
Types related to SafetyMonitor devices.
switchswitch
Types related to Switch devices.
telescopetelescope
Types related to Telescope devices.

Macros§

CargoServerInfo
A helper that constructs a ServerInfo instance populated with metadata from Cargo.toml.

Structs§

Devices
Devices collection.
ServerInfo
General information about the server.
TimestampedDeviceState
A wrapper for the device-specific state with the common optional timestamp field.

Enums§

TypedDevice
A tagged enum wrapper for a type-erased instance of a device.

Type Aliases§

ASCOMResultFuture
A helper alias for the common type of futures returned by device traits.