pub enum ScanResponse {
OK(String),
BadRequest(String),
NotFound(String),
}
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§
Source§impl Debug for ScanResponse
impl Debug for ScanResponse
Source§impl PartialEq for ScanResponse
impl PartialEq for ScanResponse
impl StructuralPartialEq for ScanResponse
Auto Trait Implementations§
impl Freeze for ScanResponse
impl RefUnwindSafe for ScanResponse
impl Send for ScanResponse
impl Sync for ScanResponse
impl Unpin for ScanResponse
impl UnwindSafe for ScanResponse
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