Enum bl602_sdk::StrnRep [−][src]
#[repr(u8)] pub enum StrnRep<'a> { ByteStr(&'a [u8]), CStr(*const u8), }
Expand description
Either a byte string or a string pointer
Variants
Byte string terminated with null
Pointer to a null-terminated string
Trait Implementations
Auto Trait Implementations
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.