pub enum ControlReply {
View(Box<ConfigView>),
Status(Box<ConfigStatus>),
}Expand description
The reply to a control operation (§2.10): {view: ConfigView} or
{status: ConfigStatus}.
Variants§
View(Box<ConfigView>)
The read-back after the act.
Status(Box<ConfigStatus>)
The compact status after the act.
Trait Implementations§
Source§impl Clone for ControlReply
impl Clone for ControlReply
Source§impl Debug for ControlReply
impl Debug for ControlReply
Source§impl<'de> Deserialize<'de> for ControlReply
impl<'de> Deserialize<'de> for ControlReply
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ControlReply
Source§impl PartialEq for ControlReply
impl PartialEq for ControlReply
Source§impl Serialize for ControlReply
impl Serialize for ControlReply
impl StructuralPartialEq for ControlReply
Auto Trait Implementations§
impl Forget for ControlReply
impl Freeze for ControlReplywhere
*const ConfigView is !null: Freeze,
PhantomData<ConfigView>: Freeze,
*const ConfigStatus is !null: Freeze,
PhantomData<ConfigStatus>: Freeze,
impl Move for ControlReply
impl RefUnwindSafe for ControlReply
impl Send for ControlReply
impl Sync for ControlReply
impl Unpin for ControlReply
impl UnsafeUnpin for ControlReplywhere
*const ConfigView is !null: UnsafeUnpin,
PhantomData<ConfigView>: UnsafeUnpin,
*const ConfigStatus is !null: UnsafeUnpin,
PhantomData<ConfigStatus>: UnsafeUnpin,
impl UnwindSafe for ControlReply
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more