pub enum GetResponse {
OK(String),
BadRequest(String),
NotFound(String),
}
Variants§
OK(String)
OK
BadRequest(String)
Bad request
NotFound(String)
Not found (or M-Bus HTTPD is unauthorized to access it, or to change baud rate to that specified, etc)
Trait Implementations§
Source§impl Debug for GetResponse
impl Debug for GetResponse
Source§impl PartialEq for GetResponse
impl PartialEq for GetResponse
impl StructuralPartialEq for GetResponse
Auto Trait Implementations§
impl Freeze for GetResponse
impl RefUnwindSafe for GetResponse
impl Send for GetResponse
impl Sync for GetResponse
impl Unpin for GetResponse
impl UnwindSafe for GetResponse
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