[−][src]Struct ublox_cellular::command::ip_transport_layer::PrepareWriteSocketDataBinary
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: SocketHandle
length: 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
pub fn as_bytes(&self) -> Vec<u8, Self::CommandLen>
[src]
pub fn parse(&self, resp: &[u8]) -> Result<NoResponse, Error>
[src]
pub fn can_abort(&self) -> bool
[src]
pub fn max_timeout_ms(&self) -> u32
[src]
pub fn force_receive_state(&self) -> bool
[src]
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]
pub fn clone(&self) -> PrepareWriteSocketDataBinary
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Serialize for PrepareWriteSocketDataBinary
[src]
Auto Trait Implementations
impl RefUnwindSafe for PrepareWriteSocketDataBinary
impl Send for PrepareWriteSocketDataBinary
impl Sync for PrepareWriteSocketDataBinary
impl Unpin for PrepareWriteSocketDataBinary
impl UnwindSafe for PrepareWriteSocketDataBinary
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,