pub struct CoapByteDisplayFormatter<'buf>(pub &'buf [u8]);
Expand description
Helper struct for formatting a CoAP buffer for display.
Tuple Fields§
§0: &'buf [u8]
Trait Implementations§
Source§impl<'buf> Clone for CoapByteDisplayFormatter<'buf>
impl<'buf> Clone for CoapByteDisplayFormatter<'buf>
Source§fn clone(&self) -> CoapByteDisplayFormatter<'buf>
fn clone(&self) -> CoapByteDisplayFormatter<'buf>
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 moreSource§impl<'buf> Debug for CoapByteDisplayFormatter<'buf>
impl<'buf> Debug for CoapByteDisplayFormatter<'buf>
Source§impl<'buf> Display for CoapByteDisplayFormatter<'buf>
impl<'buf> Display for CoapByteDisplayFormatter<'buf>
impl<'buf> Copy for CoapByteDisplayFormatter<'buf>
Auto Trait Implementations§
impl<'buf> Freeze for CoapByteDisplayFormatter<'buf>
impl<'buf> RefUnwindSafe for CoapByteDisplayFormatter<'buf>
impl<'buf> Send for CoapByteDisplayFormatter<'buf>
impl<'buf> Sync for CoapByteDisplayFormatter<'buf>
impl<'buf> Unpin for CoapByteDisplayFormatter<'buf>
impl<'buf> UnwindSafe for CoapByteDisplayFormatter<'buf>
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