Struct coap_message_demos::helloworld::Time
source · [−]pub struct Time;Expand description
A stand-in for the current system time, implementing a simple text based clock when std is enabled (and commenting on its no_stdness otherwise).
Trait Implementations
sourceimpl SimpleRenderable for Time
impl SimpleRenderable for Time
fn render<W: Write>(&mut self, writer: &mut W)
sourcefn content_format(&self) -> Option<u16>
fn content_format(&self) -> Option<u16>
If something is returned, GETs with differing Accept options will be rejecected, and the value will be set in responses. Read more
fn render_bytes(&mut self, writer: &mut WindowedInfinityWithETag<'_>)
impl Copy for Time
Auto Trait Implementations
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more