Struct riot_wrappers::gcoap::LinkEncoder
source · pub struct LinkEncoder<'a> { /* private fields */ }
Available on
riot_module_gcoap
only.Expand description
The message buffer of a .well-known/core file in appication/link-format, as it is passed to a WithLinkEncoder handler.
Implementations§
source§impl<'a> LinkEncoder<'a>
impl<'a> LinkEncoder<'a>
sourcepub fn write_comma_maybe(&mut self)
pub fn write_comma_maybe(&mut self)
Emit a comma, except the first time this is called
(This is the separator of the records of application/link-format; RIOT’s )
Auto Trait Implementations§
impl<'a> RefUnwindSafe for LinkEncoder<'a>
impl<'a> Send for LinkEncoder<'a>
impl<'a> Sync for LinkEncoder<'a>
impl<'a> Unpin for LinkEncoder<'a>
impl<'a> !UnwindSafe for LinkEncoder<'a>
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