Enum ascom_alpaca::api::TypedDevice
source · pub enum TypedDevice {
Camera(Arc<dyn Camera>),
CoverCalibrator(Arc<dyn CoverCalibrator>),
Dome(Arc<dyn Dome>),
FilterWheel(Arc<dyn FilterWheel>),
Focuser(Arc<dyn Focuser>),
ObservingConditions(Arc<dyn ObservingConditions>),
Rotator(Arc<dyn Rotator>),
SafetyMonitor(Arc<dyn SafetyMonitor>),
Switch(Arc<dyn Switch>),
Telescope(Arc<dyn Telescope>),
}Variants§
Camera(Arc<dyn Camera>)
Available on crate feature
camera only.CoverCalibrator(Arc<dyn CoverCalibrator>)
Available on crate feature
covercalibrator only.Dome(Arc<dyn Dome>)
Available on crate feature
dome only.FilterWheel(Arc<dyn FilterWheel>)
Available on crate feature
filterwheel only.Focuser(Arc<dyn Focuser>)
Available on crate feature
focuser only.ObservingConditions(Arc<dyn ObservingConditions>)
Available on crate feature
observingconditions only.Rotator(Arc<dyn Rotator>)
Available on crate feature
rotator only.SafetyMonitor(Arc<dyn SafetyMonitor>)
Available on crate feature
safetymonitor only.Switch(Arc<dyn Switch>)
Available on crate feature
switch only.Telescope(Arc<dyn Telescope>)
Available on crate feature
telescope only.Trait Implementations§
source§impl Clone for TypedDevice
impl Clone for TypedDevice
source§fn clone(&self) -> TypedDevice
fn clone(&self) -> TypedDevice
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TypedDevice
impl Debug for TypedDevice
source§impl Extend<TypedDevice> for Devices
impl Extend<TypedDevice> for Devices
source§fn extend<T: IntoIterator<Item = TypedDevice>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = TypedDevice>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl FromIterator<TypedDevice> for Devices
impl FromIterator<TypedDevice> for Devices
source§fn from_iter<T: IntoIterator<Item = TypedDevice>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = TypedDevice>>(iter: T) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for TypedDevice
impl Send for TypedDevice
impl Sync for TypedDevice
impl Unpin for TypedDevice
impl !UnwindSafe for TypedDevice
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more