TypedRequest

Trait TypedRequest 

Source
pub trait TypedRequest: Request {
    type Value: Value + ?Sized;

    // Required methods
    fn value(&self) -> &Self::Value;
    fn value_mut(&mut self) -> &mut Self::Value;
}
Expand description

Request that stores value of specific type (along with optional metadata).

Required Associated Types§

Required Methods§

Source

fn value(&self) -> &Self::Value

Source

fn value_mut(&mut self) -> &mut Self::Value

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<V: Value + ?Sized> TypedRequest for CtrlFloat<V>
where V::Item: Float,

Source§

type Value = V

Source§

impl<V: Value + ?Sized> TypedRequest for CtrlInt<V>
where V::Item: Int,

Source§

type Value = V

Source§

impl<V: Value + ?Sized> TypedRequest for GrFloat<V>
where V::Item: Float,

Source§

type Value = V

Source§

impl<V: Value + ?Sized> TypedRequest for GrInt<V>
where V::Item: Int,

Source§

type Value = V

Source§

impl<V: Value + ?Sized> TypedRequest for Sts<V>

Source§

type Value = V

Source§

impl<V: Value + ?Sized> TypedRequest for Time<V>

Source§

type Value = V

Source§

impl<V: Value + ?Sized> TypedRequest for V

Source§

type Value = V

Source§

impl<V: Value<Item = EpicsEnum> + ?Sized> TypedRequest for CtrlEnum<V>

Source§

type Value = V

Source§

impl<V: Value<Item = EpicsEnum> + ?Sized> TypedRequest for GrEnum<V>

Source§

type Value = V

Source§

impl<V: Value<Item = EpicsString> + ?Sized> TypedRequest for CtrlString<V>

Source§

type Value = V

Source§

impl<V: Value<Item = EpicsString> + ?Sized> TypedRequest for GrString<V>

Source§

type Value = V

Source§

impl<V: Value<Item = EpicsString> + ?Sized> TypedRequest for StsackString<V>

Source§

type Value = V