Skip to main content

Message

Enum Message 

Source
pub enum Message {
Show 70 variants CloudSyncFinishRequest(CloudSyncFinishRequest), CloudSyncFinishResponse(CloudSyncFinishResponse), CloudSyncStartRequest(CloudSyncStartRequest), CloudSyncStartResponse(CloudSyncStartResponse), DatasetPathsRequest(DatasetPathsRequest), DatasetPathsResponse(DatasetPathsResponse), Develop(Vec<u8>), DeviceInfoRequest(DeviceInfoRequest), DeviceInfoResponse(DeviceInfoResponse), ExecutionCancelRequest(ExecutionCancelRequest), ExecutionCancelResponse(ExecutionCancelResponse), ExecutionScheduleRequest(ExecutionScheduleRequest), ExecutionScheduleResponse(ExecutionScheduleResponse), ExecutionStatusRequest(ExecutionStatusRequest), ExecutionStatusResponse(ExecutionStatusResponse), ExecutionUploadChunkRequest(ExecutionUploadChunkRequest), ExecutionUploadChunkResponse(ExecutionUploadChunkResponse), ExecutionUploadStartRequest(ExecutionUploadStartRequest), ExecutionUploadStartResponse(ExecutionUploadStartResponse), FirmwareUpdateInitRequest(FirmwareUpdateInitRequest), FirmwareUpdateInitResponse(FirmwareUpdateInitResponse), FirmwareUpdateInstallRequest(FirmwareUpdateInstallRequest), FirmwareUpdateInstallResponse(FirmwareUpdateInstallResponse), FirmwareUpdatePrepRequest(FirmwareUpdatePrepRequest), FirmwareUpdatePrepResponse(FirmwareUpdatePrepResponse), FirmwareUpdateUploadRequest(FirmwareUpdateUploadRequest), FirmwareUpdateUploadResponse(FirmwareUpdateUploadResponse), FirmwareUpdateVerifyRequest(FirmwareUpdateVerifyRequest), FirmwareUpdateVerifyResponse(FirmwareUpdateVerifyResponse), GenuinityProofRequest(GenuinityProofRequest), GenuinityProofResponse(GenuinityProofResponse), OnboardingRequest(OnboardingRequest), OnboardingResponse(OnboardingResponse), PairingAcceptanceRequest(PairingAcceptanceRequest), PairingAcceptanceResponse(PairingAcceptanceResponse), PairingAckArkStorageRequest(PairingAckArkStorageRequest), PairingAckArkStorageResponse(PairingAckArkStorageResponse), PairingAuthRequest(PairingAuthRequest), PairingAuthResponse(PairingAuthResponse), PairingCompletionRequest(PairingCompletionRequest), PairingCompletionResponse(PairingCompletionResponse), PairingSetAppIdentityRequest(PairingSetAppIdentityRequest), PairingSetAppIdentityResponse(PairingSetAppIdentityResponse), PairingSetAppStorageRequest(PairingSetAppStorageRequest), PairingSetAppStorageResponse(PairingSetAppStorageResponse), RelayAppToArkFailure(RelayAppToArkFailure), RelayAppToArkRequest(RelayAppToArkRequest), RelayAppToArkResponse(RelayAppToArkResponse), RelayArkToAppRequest(RelayArkToAppRequest), RelayArkToAppResponse(RelayArkToAppResponse), RelayJoinRequest(RelayJoinRequest), RelayJoinResponse(RelayJoinResponse), SlotDeleteRequest(SlotDeleteRequest), SlotDeleteResponse(SlotDeleteResponse), SlotIdentifyRequest(SlotIdentifyRequest), SlotIdentifyResponse(SlotIdentifyResponse), SlotListRequest(SlotListRequest), SlotListResponse(SlotListResponse), SlotRepairRequest(SlotRepairRequest), SlotRepairResponse(SlotRepairResponse), SlotUploadCancelRequest(SlotUploadCancelRequest), SlotUploadCancelResponse(SlotUploadCancelResponse), SlotUploadChunkRequest(SlotUploadChunkRequest), SlotUploadChunkResponse(SlotUploadChunkResponse), SlotUploadProcessRequest(SlotUploadProcessRequest), SlotUploadProcessResponse(SlotUploadProcessResponse), SlotUploadStartRequest(SlotUploadStartRequest), SlotUploadStartResponse(SlotUploadStartResponse), UnlockRequest(UnlockRequest), UnlockResponse(UnlockResponse),
}
Expand description

A request or successful response body from either direction. Variants are named by their body type, so a request and its response stay apart. Request IDs and wire envelopes remain internal to the session API. The session checks whether it can send this message in its direction.

Use From/.into() to submit a body and TryFrom to extract an expected body type. Extraction checks the variant and returns Error::UnexpectedResponse on mismatch. There is no static request/response pairing table. Convert into host_to_ark::Content or ark_to_host::Content to dispatch on one direction exhaustively. A body from the other direction fails that conversion with Error::WrongDirection.

Variants§

§

CloudSyncFinishRequest(CloudSyncFinishRequest)

A CloudSyncFinishRequest payload.

§

CloudSyncFinishResponse(CloudSyncFinishResponse)

A CloudSyncFinishResponse payload.

§

CloudSyncStartRequest(CloudSyncStartRequest)

A CloudSyncStartRequest payload.

§

CloudSyncStartResponse(CloudSyncStartResponse)

A CloudSyncStartResponse payload.

§

DatasetPathsRequest(DatasetPathsRequest)

A DatasetPathsRequest payload.

§

DatasetPathsResponse(DatasetPathsResponse)

A DatasetPathsResponse payload.

§

Develop(Vec<u8>)

A Vec<u8> payload.

§

DeviceInfoRequest(DeviceInfoRequest)

A DeviceInfoRequest payload.

§

DeviceInfoResponse(DeviceInfoResponse)

A DeviceInfoResponse payload.

§

ExecutionCancelRequest(ExecutionCancelRequest)

A ExecutionCancelRequest payload.

§

ExecutionCancelResponse(ExecutionCancelResponse)

A ExecutionCancelResponse payload.

§

ExecutionScheduleRequest(ExecutionScheduleRequest)

A ExecutionScheduleRequest payload.

§

ExecutionScheduleResponse(ExecutionScheduleResponse)

A ExecutionScheduleResponse payload.

§

ExecutionStatusRequest(ExecutionStatusRequest)

A ExecutionStatusRequest payload.

§

ExecutionStatusResponse(ExecutionStatusResponse)

A ExecutionStatusResponse payload.

§

ExecutionUploadChunkRequest(ExecutionUploadChunkRequest)

A ExecutionUploadChunkRequest payload.

§

ExecutionUploadChunkResponse(ExecutionUploadChunkResponse)

A ExecutionUploadChunkResponse payload.

§

ExecutionUploadStartRequest(ExecutionUploadStartRequest)

A ExecutionUploadStartRequest payload.

§

ExecutionUploadStartResponse(ExecutionUploadStartResponse)

A ExecutionUploadStartResponse payload.

§

FirmwareUpdateInitRequest(FirmwareUpdateInitRequest)

A FirmwareUpdateInitRequest payload.

§

FirmwareUpdateInitResponse(FirmwareUpdateInitResponse)

A FirmwareUpdateInitResponse payload.

§

FirmwareUpdateInstallRequest(FirmwareUpdateInstallRequest)

A FirmwareUpdateInstallRequest payload.

§

FirmwareUpdateInstallResponse(FirmwareUpdateInstallResponse)

A FirmwareUpdateInstallResponse payload.

§

FirmwareUpdatePrepRequest(FirmwareUpdatePrepRequest)

A FirmwareUpdatePrepRequest payload.

§

FirmwareUpdatePrepResponse(FirmwareUpdatePrepResponse)

A FirmwareUpdatePrepResponse payload.

§

FirmwareUpdateUploadRequest(FirmwareUpdateUploadRequest)

A FirmwareUpdateUploadRequest payload.

§

FirmwareUpdateUploadResponse(FirmwareUpdateUploadResponse)

A FirmwareUpdateUploadResponse payload.

§

FirmwareUpdateVerifyRequest(FirmwareUpdateVerifyRequest)

A FirmwareUpdateVerifyRequest payload.

§

FirmwareUpdateVerifyResponse(FirmwareUpdateVerifyResponse)

A FirmwareUpdateVerifyResponse payload.

§

GenuinityProofRequest(GenuinityProofRequest)

A GenuinityProofRequest payload.

§

GenuinityProofResponse(GenuinityProofResponse)

A GenuinityProofResponse payload.

§

OnboardingRequest(OnboardingRequest)

A OnboardingRequest payload.

§

OnboardingResponse(OnboardingResponse)

A OnboardingResponse payload.

§

PairingAcceptanceRequest(PairingAcceptanceRequest)

A PairingAcceptanceRequest payload.

§

PairingAcceptanceResponse(PairingAcceptanceResponse)

A PairingAcceptanceResponse payload.

§

PairingAckArkStorageRequest(PairingAckArkStorageRequest)

A PairingAckArkStorageRequest payload.

§

PairingAckArkStorageResponse(PairingAckArkStorageResponse)

A PairingAckArkStorageResponse payload.

§

PairingAuthRequest(PairingAuthRequest)

A PairingAuthRequest payload.

§

PairingAuthResponse(PairingAuthResponse)

A PairingAuthResponse payload.

§

PairingCompletionRequest(PairingCompletionRequest)

A PairingCompletionRequest payload.

§

PairingCompletionResponse(PairingCompletionResponse)

A PairingCompletionResponse payload.

§

PairingSetAppIdentityRequest(PairingSetAppIdentityRequest)

A PairingSetAppIdentityRequest payload.

§

PairingSetAppIdentityResponse(PairingSetAppIdentityResponse)

A PairingSetAppIdentityResponse payload.

§

PairingSetAppStorageRequest(PairingSetAppStorageRequest)

A PairingSetAppStorageRequest payload.

§

PairingSetAppStorageResponse(PairingSetAppStorageResponse)

A PairingSetAppStorageResponse payload.

§

RelayAppToArkFailure(RelayAppToArkFailure)

A RelayAppToArkFailure payload.

§

RelayAppToArkRequest(RelayAppToArkRequest)

A RelayAppToArkRequest payload.

§

RelayAppToArkResponse(RelayAppToArkResponse)

A RelayAppToArkResponse payload.

§

RelayArkToAppRequest(RelayArkToAppRequest)

A RelayArkToAppRequest payload.

§

RelayArkToAppResponse(RelayArkToAppResponse)

A RelayArkToAppResponse payload.

§

RelayJoinRequest(RelayJoinRequest)

A RelayJoinRequest payload.

§

RelayJoinResponse(RelayJoinResponse)

A RelayJoinResponse payload.

§

SlotDeleteRequest(SlotDeleteRequest)

A SlotDeleteRequest payload.

§

SlotDeleteResponse(SlotDeleteResponse)

A SlotDeleteResponse payload.

§

SlotIdentifyRequest(SlotIdentifyRequest)

A SlotIdentifyRequest payload.

§

SlotIdentifyResponse(SlotIdentifyResponse)

A SlotIdentifyResponse payload.

§

SlotListRequest(SlotListRequest)

A SlotListRequest payload.

§

SlotListResponse(SlotListResponse)

A SlotListResponse payload.

§

SlotRepairRequest(SlotRepairRequest)

A SlotRepairRequest payload.

§

SlotRepairResponse(SlotRepairResponse)

A SlotRepairResponse payload.

§

SlotUploadCancelRequest(SlotUploadCancelRequest)

A SlotUploadCancelRequest payload.

§

SlotUploadCancelResponse(SlotUploadCancelResponse)

A SlotUploadCancelResponse payload.

§

SlotUploadChunkRequest(SlotUploadChunkRequest)

A SlotUploadChunkRequest payload.

§

SlotUploadChunkResponse(SlotUploadChunkResponse)

A SlotUploadChunkResponse payload.

§

SlotUploadProcessRequest(SlotUploadProcessRequest)

A SlotUploadProcessRequest payload.

§

SlotUploadProcessResponse(SlotUploadProcessResponse)

A SlotUploadProcessResponse payload.

§

SlotUploadStartRequest(SlotUploadStartRequest)

A SlotUploadStartRequest payload.

§

SlotUploadStartResponse(SlotUploadStartResponse)

A SlotUploadStartResponse payload.

§

UnlockRequest(UnlockRequest)

A UnlockRequest payload.

§

UnlockResponse(UnlockResponse)

A UnlockResponse payload.

Trait Implementations§

Source§

impl Clone for Message

Source§

fn clone(&self) -> Message

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Message

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<CloudSyncFinishRequest> for Message

Source§

fn from(message: CloudSyncFinishRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<CloudSyncFinishResponse> for Message

Source§

fn from(message: CloudSyncFinishResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<CloudSyncStartRequest> for Message

Source§

fn from(message: CloudSyncStartRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<CloudSyncStartResponse> for Message

Source§

fn from(message: CloudSyncStartResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<Content> for Message

Source§

fn from(content: Content) -> Self

Converts this envelope’s content into the shared Message enum.

Source§

impl From<Content> for Message

Source§

fn from(content: Content) -> Self

Converts this envelope’s content into the shared Message enum.

Source§

impl From<DatasetPathsRequest> for Message

Source§

fn from(message: DatasetPathsRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<DatasetPathsResponse> for Message

Source§

fn from(message: DatasetPathsResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<DeviceInfoRequest> for Message

Source§

fn from(message: DeviceInfoRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<DeviceInfoResponse> for Message

Source§

fn from(message: DeviceInfoResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionCancelRequest> for Message

Source§

fn from(message: ExecutionCancelRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionCancelResponse> for Message

Source§

fn from(message: ExecutionCancelResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionScheduleRequest> for Message

Source§

fn from(message: ExecutionScheduleRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionScheduleResponse> for Message

Source§

fn from(message: ExecutionScheduleResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionStatusRequest> for Message

Source§

fn from(message: ExecutionStatusRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionStatusResponse> for Message

Source§

fn from(message: ExecutionStatusResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionUploadChunkRequest> for Message

Source§

fn from(message: ExecutionUploadChunkRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionUploadChunkResponse> for Message

Source§

fn from(message: ExecutionUploadChunkResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionUploadStartRequest> for Message

Source§

fn from(message: ExecutionUploadStartRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<ExecutionUploadStartResponse> for Message

Source§

fn from(message: ExecutionUploadStartResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdateInitRequest> for Message

Source§

fn from(message: FirmwareUpdateInitRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdateInitResponse> for Message

Source§

fn from(message: FirmwareUpdateInitResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdateInstallRequest> for Message

Source§

fn from(message: FirmwareUpdateInstallRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdateInstallResponse> for Message

Source§

fn from(message: FirmwareUpdateInstallResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdatePrepRequest> for Message

Source§

fn from(message: FirmwareUpdatePrepRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdatePrepResponse> for Message

Source§

fn from(message: FirmwareUpdatePrepResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdateUploadRequest> for Message

Source§

fn from(message: FirmwareUpdateUploadRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdateUploadResponse> for Message

Source§

fn from(message: FirmwareUpdateUploadResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdateVerifyRequest> for Message

Source§

fn from(message: FirmwareUpdateVerifyRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<FirmwareUpdateVerifyResponse> for Message

Source§

fn from(message: FirmwareUpdateVerifyResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<GenuinityProofRequest> for Message

Source§

fn from(message: GenuinityProofRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<GenuinityProofResponse> for Message

Source§

fn from(message: GenuinityProofResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<OnboardingRequest> for Message

Source§

fn from(message: OnboardingRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<OnboardingResponse> for Message

Source§

fn from(message: OnboardingResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingAcceptanceRequest> for Message

Source§

fn from(message: PairingAcceptanceRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingAcceptanceResponse> for Message

Source§

fn from(message: PairingAcceptanceResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingAckArkStorageRequest> for Message

Source§

fn from(message: PairingAckArkStorageRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingAckArkStorageResponse> for Message

Source§

fn from(message: PairingAckArkStorageResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingAuthRequest> for Message

Source§

fn from(message: PairingAuthRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingAuthResponse> for Message

Source§

fn from(message: PairingAuthResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingCompletionRequest> for Message

Source§

fn from(message: PairingCompletionRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingCompletionResponse> for Message

Source§

fn from(message: PairingCompletionResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingSetAppIdentityRequest> for Message

Source§

fn from(message: PairingSetAppIdentityRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingSetAppIdentityResponse> for Message

Source§

fn from(message: PairingSetAppIdentityResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingSetAppStorageRequest> for Message

Source§

fn from(message: PairingSetAppStorageRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<PairingSetAppStorageResponse> for Message

Source§

fn from(message: PairingSetAppStorageResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<RelayAppToArkFailure> for Message

Source§

fn from(message: RelayAppToArkFailure) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<RelayAppToArkRequest> for Message

Source§

fn from(message: RelayAppToArkRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<RelayAppToArkResponse> for Message

Source§

fn from(message: RelayAppToArkResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<RelayArkToAppRequest> for Message

Source§

fn from(message: RelayArkToAppRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<RelayArkToAppResponse> for Message

Source§

fn from(message: RelayArkToAppResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<RelayJoinRequest> for Message

Source§

fn from(message: RelayJoinRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<RelayJoinResponse> for Message

Source§

fn from(message: RelayJoinResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotDeleteRequest> for Message

Source§

fn from(message: SlotDeleteRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotDeleteResponse> for Message

Source§

fn from(message: SlotDeleteResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotIdentifyRequest> for Message

Source§

fn from(message: SlotIdentifyRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotIdentifyResponse> for Message

Source§

fn from(message: SlotIdentifyResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotListRequest> for Message

Source§

fn from(message: SlotListRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotListResponse> for Message

Source§

fn from(message: SlotListResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotRepairRequest> for Message

Source§

fn from(message: SlotRepairRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotRepairResponse> for Message

Source§

fn from(message: SlotRepairResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotUploadCancelRequest> for Message

Source§

fn from(message: SlotUploadCancelRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotUploadCancelResponse> for Message

Source§

fn from(message: SlotUploadCancelResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotUploadChunkRequest> for Message

Source§

fn from(message: SlotUploadChunkRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotUploadChunkResponse> for Message

Source§

fn from(message: SlotUploadChunkResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotUploadProcessRequest> for Message

Source§

fn from(message: SlotUploadProcessRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotUploadProcessResponse> for Message

Source§

fn from(message: SlotUploadProcessResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotUploadStartRequest> for Message

Source§

fn from(message: SlotUploadStartRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<SlotUploadStartResponse> for Message

Source§

fn from(message: SlotUploadStartResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<UnlockRequest> for Message

Source§

fn from(message: UnlockRequest) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<UnlockResponse> for Message

Source§

fn from(message: UnlockResponse) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl From<Vec<u8>> for Message

Source§

fn from(message: Vec<u8>) -> Self

Wraps a concrete payload in its corresponding message variant.

Source§

impl PartialEq for Message

Source§

fn eq(&self, other: &Message) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Message

Source§

impl TryFrom<Message> for CloudSyncFinishRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for CloudSyncFinishResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for CloudSyncStartRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for CloudSyncStartResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for DatasetPathsRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for DatasetPathsResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for Vec<u8>

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for DeviceInfoRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for DeviceInfoResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionCancelRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionCancelResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionScheduleRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionScheduleResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionStatusRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionStatusResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionUploadChunkRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionUploadChunkResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionUploadStartRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for ExecutionUploadStartResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdateInitRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdateInitResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdateInstallRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdateInstallResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdatePrepRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdatePrepResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdateUploadRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdateUploadResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdateVerifyRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for FirmwareUpdateVerifyResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for GenuinityProofRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for GenuinityProofResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for OnboardingRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for OnboardingResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingAcceptanceRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingAcceptanceResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingAckArkStorageRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingAckArkStorageResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingAuthRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingAuthResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingCompletionRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingCompletionResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingSetAppIdentityRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingSetAppIdentityResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingSetAppStorageRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for PairingSetAppStorageResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for RelayAppToArkFailure

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for RelayAppToArkRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for RelayAppToArkResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for RelayArkToAppRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for RelayArkToAppResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for RelayJoinRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for RelayJoinResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotDeleteRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotDeleteResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotIdentifyRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotIdentifyResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotListRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotListResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotRepairRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotRepairResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotUploadCancelRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotUploadCancelResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotUploadChunkRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotUploadChunkResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotUploadProcessRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotUploadProcessResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotUploadStartRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for SlotUploadStartResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for UnlockRequest

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for UnlockResponse

Source§

type Error = Error

Variant mismatch between the received and requested payload types.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Extracts this payload only when the message variant matches.

Source§

impl TryFrom<Message> for Content

Source§

type Error = Error

A body absent from this envelope cannot travel in this direction.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Selects the envelope field by body type, independently of request ID.

Source§

impl TryFrom<Message> for Content

Source§

type Error = Error

A body absent from this envelope cannot travel in this direction.

Source§

fn try_from(message: Message) -> Result<Self, Self::Error>

Selects the envelope field by body type, independently of request ID.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more