pub struct MessageHexConfirmed {
pub message: HexStr<[u8; 242]>,
}
Expand description
4.8 CMSGHEX Send hex format data that needs to be confirmed by the server
Fields§
§message: HexStr<[u8; 242]>
Trait Implementations§
Source§impl AtatCmd for MessageHexConfirmed
impl AtatCmd for MessageHexConfirmed
Source§const EXPECTS_RESPONSE_CODE: bool = false
const EXPECTS_RESPONSE_CODE: bool = false
Force client to look for a response.
Empty slice is then passed to parse by client.
Implemented to enhance expandability of ATAT
Source§type Response = NoResponse
type Response = NoResponse
The type of the response. Must implement the
AtatResp
trait.Source§fn write(&self, buf: &mut [u8]) -> usize
fn write(&self, buf: &mut [u8]) -> usize
Write the command and return the number of written bytes.
Source§fn parse(
&self,
_resp: Result<&[u8], InternalError<'_>>,
) -> Result<Self::Response, Error>
fn parse( &self, _resp: Result<&[u8], InternalError<'_>>, ) -> Result<Self::Response, Error>
Parse the response into a
Self::Response
or Error
instance.Source§const MAX_TIMEOUT_MS: u32 = 1_000u32
const MAX_TIMEOUT_MS: u32 = 1_000u32
The max timeout in milliseconds.
Source§const ATTEMPTS: u8 = 1u8
const ATTEMPTS: u8 = 1u8
The max number of times to attempt a command with automatic retries if
using
send_retry
.Source§const REATTEMPT_ON_PARSE_ERR: bool = true
const REATTEMPT_ON_PARSE_ERR: bool = true
Whether or not to reattempt a command on a parse error
using
send_retry
.Source§impl Clone for MessageHexConfirmed
impl Clone for MessageHexConfirmed
Source§fn clone(&self) -> MessageHexConfirmed
fn clone(&self) -> MessageHexConfirmed
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MessageHexConfirmed
impl RefUnwindSafe for MessageHexConfirmed
impl Send for MessageHexConfirmed
impl Sync for MessageHexConfirmed
impl Unpin for MessageHexConfirmed
impl UnwindSafe for MessageHexConfirmed
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