[][src]Struct ublox_cellular::command::ip_transport_layer::PrepareWriteSocketDataBinary

pub struct PrepareWriteSocketDataBinary {
    pub socket: SocketHandle,
    pub length: usize,
}

25.10 Write socket data +USOWR

Writes the specified amount of data to the specified socket, like the BSD write routine, and returns the number of bytes of data actually written. The command applies to UDP sockets too, after a +USOCO command. There are three kinds of syntax:

  • Binary extended syntax: mandatory for writing any character in the ASCII range [0x00, 0xFF]

Fields

socket: SocketHandlelength: usize

Trait Implementations

impl AtatCmd for PrepareWriteSocketDataBinary[src]

type Response = NoResponse

The type of the response. Must implement the AtatResp trait.

type CommandLen = <Self::Len as Add<U11>>::Output

The max length of the command. Read more

impl AtatLen for PrepareWriteSocketDataBinary[src]

type Len = <<usize as AtatLen>::Len as Add<<<SocketHandle as AtatLen>::Len as Add<U1>>::Output>>::Output

impl Clone for PrepareWriteSocketDataBinary[src]

impl Serialize for PrepareWriteSocketDataBinary[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.