pub struct HttpObserver { /* private fields */ }Expand description
GET a URL and treat the body as observation (JSON if possible, else raw text).
Requires network. Timeout defaults to 5 seconds.
Implementations§
Trait Implementations§
Source§impl Observer for HttpObserver
Available on crate feature std only.
impl Observer for HttpObserver
Available on crate feature
std only.Auto Trait Implementations§
impl Forget for HttpObserver
impl Freeze for HttpObserver
impl Move for HttpObserver
impl RefUnwindSafe for HttpObserver
impl Send for HttpObserver
impl Sync for HttpObserver
impl Unpin for HttpObserver
impl UnsafeUnpin for HttpObserver
impl UnwindSafe for HttpObserver
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