Enum HermitResponse
pub enum HermitResponse {
IdentityV1(Identity),
VersionV1(Version),
StatusV1(StatusV1),
ReloadV1(()),
ShutdownV1(()),
SetDigitalOutputV1(()),
ConfirmExternalTimeSyncV1(()),
DebugForceOnlineStateV1(()),
ResetNxpV1(()),
HandshakeNxpV1(()),
StatusV2(Status),
}Expand description
The response sent over the wire from the server to the client.
Variants§
IdentityV1(Identity)
VersionV1(Version)
StatusV1(StatusV1)
ReloadV1(())
ShutdownV1(())
SetDigitalOutputV1(())
ConfirmExternalTimeSyncV1(())
DebugForceOnlineStateV1(())
ResetNxpV1(())
HandshakeNxpV1(())
StatusV2(Status)
Trait Implementations§
§impl Debug for HermitResponse
impl Debug for HermitResponse
§impl<'de> Deserialize<'de> for HermitResponse
impl<'de> Deserialize<'de> for HermitResponse
§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 Serialize for HermitResponse
impl Serialize for HermitResponse
Auto Trait Implementations§
impl Freeze for HermitResponse
impl RefUnwindSafe for HermitResponse
impl Send for HermitResponse
impl Sync for HermitResponse
impl Unpin for HermitResponse
impl UnwindSafe for HermitResponse
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