Enum mbus_api::ScanResponse [−][src]
Variants
OK(String)
OK
BadRequest(String)
Bad request
NotFound(String)
Not found (e.g. device not found, or M-Bus HTTPD is unauthorized to access it, or to change baud rate to that specified, device not responding etc)
Trait Implementations
impl Debug for ScanResponse
[src]
impl Debug for ScanResponse
[src]impl PartialEq<ScanResponse> for ScanResponse
[src]
impl PartialEq<ScanResponse> for ScanResponse
[src]fn eq(&self, other: &ScanResponse) -> bool
[src]
fn eq(&self, other: &ScanResponse) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ScanResponse) -> bool
[src]
fn ne(&self, other: &ScanResponse) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for ScanResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScanResponse
impl Send for ScanResponse
impl Sync for ScanResponse
impl Unpin for ScanResponse
impl UnwindSafe for ScanResponse
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]