Enum DeviceRecv

Source
pub enum DeviceRecv {
Show 14 variants ExchangeMtuRequest(ExchangeMtuRequest), FindInformationRequest(FindInformationRequest), FindByTypeValueRequest(FindByTypeValueRequest), ReadByTypeRequest(ReadByTypeRequest), ReadRequest(ReadRequest), ReadBlobRequest(ReadBlobRequest), ReadMultipleRequest(ReadMultipleRequest), ReadByGroupTypeRequest(ReadByGroupTypeRequest), WriteRequest(WriteRequest), PrepareWriteRequest(PrepareWriteRequest), ExecuteWriteRequest(ExecuteWriteRequest), WriteCommand(WriteCommand), SignedWriteCommand(SignedWriteCommand), HandleValueConfirmation(HandleValueConfirmation),
}

Variants§

§

ExchangeMtuRequest(ExchangeMtuRequest)

§

FindInformationRequest(FindInformationRequest)

§

FindByTypeValueRequest(FindByTypeValueRequest)

§

ReadByTypeRequest(ReadByTypeRequest)

§

ReadRequest(ReadRequest)

§

ReadBlobRequest(ReadBlobRequest)

§

ReadMultipleRequest(ReadMultipleRequest)

§

ReadByGroupTypeRequest(ReadByGroupTypeRequest)

§

WriteRequest(WriteRequest)

§

PrepareWriteRequest(PrepareWriteRequest)

§

ExecuteWriteRequest(ExecuteWriteRequest)

§

WriteCommand(WriteCommand)

§

SignedWriteCommand(SignedWriteCommand)

§

HandleValueConfirmation(HandleValueConfirmation)

Trait Implementations§

Source§

impl Debug for DeviceRecv

Source§

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

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

impl From<ExchangeMtuRequest> for DeviceRecv

Source§

fn from(v: ExchangeMtuRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ExecuteWriteRequest> for DeviceRecv

Source§

fn from(v: ExecuteWriteRequest) -> Self

Converts to this type from the input type.
Source§

impl From<FindByTypeValueRequest> for DeviceRecv

Source§

fn from(v: FindByTypeValueRequest) -> Self

Converts to this type from the input type.
Source§

impl From<FindInformationRequest> for DeviceRecv

Source§

fn from(v: FindInformationRequest) -> Self

Converts to this type from the input type.
Source§

impl From<HandleValueConfirmation> for DeviceRecv

Source§

fn from(v: HandleValueConfirmation) -> Self

Converts to this type from the input type.
Source§

impl From<PrepareWriteRequest> for DeviceRecv

Source§

fn from(v: PrepareWriteRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ReadBlobRequest> for DeviceRecv

Source§

fn from(v: ReadBlobRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ReadByGroupTypeRequest> for DeviceRecv

Source§

fn from(v: ReadByGroupTypeRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ReadByTypeRequest> for DeviceRecv

Source§

fn from(v: ReadByTypeRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ReadMultipleRequest> for DeviceRecv

Source§

fn from(v: ReadMultipleRequest) -> Self

Converts to this type from the input type.
Source§

impl From<ReadRequest> for DeviceRecv

Source§

fn from(v: ReadRequest) -> Self

Converts to this type from the input type.
Source§

impl From<SignedWriteCommand> for DeviceRecv

Source§

fn from(v: SignedWriteCommand) -> Self

Converts to this type from the input type.
Source§

impl From<WriteCommand> for DeviceRecv

Source§

fn from(v: WriteCommand) -> Self

Converts to this type from the input type.
Source§

impl From<WriteRequest> for DeviceRecv

Source§

fn from(v: WriteRequest) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<DeviceRecv> for ExchangeMtuRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for ExecuteWriteRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for FindByTypeValueRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for FindInformationRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for HandleValueConfirmation

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for PrepareWriteRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for ReadBlobRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for ReadByGroupTypeRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for ReadByTypeRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for ReadMultipleRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for ReadRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for SignedWriteCommand

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for WriteCommand

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DeviceRecv> for WriteRequest

Source§

type Error = DeviceRecv

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

fn try_from(v: DeviceRecv) -> Result<Self, Self::Error>

Performs the conversion.

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<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.