[−][src]Trait mynewt::encoding::coap_context::ToBytesOptionalNull
Convert the type to array of bytes that may or may not end with null
Required methods
fn to_bytes_optional_nul(&self) -> &[u8]
Convert the type to array of bytes that may or may not end with null
Implementations on Foreign Types
impl ToBytesOptionalNull for CStr
[src]
Convert the type to array of bytes that may or may not end with null. CStr always ends with null.
fn to_bytes_optional_nul(&self) -> &[u8]
[src]
Convert the type to array of bytes that may or may not end with null. CStr always ends with null.
Implementors
impl ToBytesOptionalNull for [u8]
[src]
Convert the type to array of bytes that may or may not end with null
fn to_bytes_optional_nul(&self) -> &[u8]
[src]
Convert the type to array of bytes that may or may not end with null
impl ToBytesOptionalNull for str
[src]
Convert the type to array of bytes that may or may not end with null
fn to_bytes_optional_nul(&self) -> &[u8]
[src]
Convert the type to array of bytes that may or may not end with null
impl<'_> ToBytesOptionalNull for &'_ str
[src]
Convert the type to array of bytes that may or may not end with null
fn to_bytes_optional_nul(&self) -> &[u8]
[src]
Convert the type to array of bytes that may or may not end with null