Enum sphinx_glyph::types::ControlResponse
source · [−]pub enum ControlResponse {
Nonce(u64),
ResetWifi,
ResetKeys,
ResetAll,
PolicyCurrent(Policy),
PolicyUpdated(Policy),
AllowlistCurrent(Vec<String>),
AllowlistUpdated(Vec<String>),
OtaConfirm(OtaParams),
Error(String),
}
Variants
Nonce(u64)
ResetWifi
ResetKeys
ResetAll
PolicyCurrent(Policy)
PolicyUpdated(Policy)
AllowlistCurrent(Vec<String>)
AllowlistUpdated(Vec<String>)
OtaConfirm(OtaParams)
Error(String)
Trait Implementations
sourceimpl Clone for ControlResponse
impl Clone for ControlResponse
sourcefn clone(&self) -> ControlResponse
fn clone(&self) -> ControlResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ControlResponse
impl Debug for ControlResponse
sourceimpl<'de> Deserialize<'de> for ControlResponse
impl<'de> Deserialize<'de> for ControlResponse
sourcefn 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
sourceimpl Serialize for ControlResponse
impl Serialize for ControlResponse
Auto Trait Implementations
impl RefUnwindSafe for ControlResponse
impl Send for ControlResponse
impl Sync for ControlResponse
impl Unpin for ControlResponse
impl UnwindSafe for ControlResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more