Struct riot_sys::coap_block_request_t
source · #[repr(C)]pub struct coap_block_request_t {
pub sock: nanocoap_sock_t,
pub path: *const c_char,
pub blknum: u32,
pub method: u8,
pub blksize: u8,
}
Expand description
@brief Blockwise request helper struct
Fields§
§sock: nanocoap_sock_t
< socket used for the request
path: *const c_char
< path on the server
blknum: u32
< current block number
method: u8
< request method (GET, POST, PUT)
blksize: u8
< CoAP blocksize exponent
Trait Implementations§
source§impl Clone for coap_block_request_t
impl Clone for coap_block_request_t
source§fn clone(&self) -> coap_block_request_t
fn clone(&self) -> coap_block_request_t
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 more