pub enum ObservationError {
Timeout,
HttpStatus(u16),
ConnectionFailed,
RateLimited,
StreamBroken,
EmptyResponse,
Truncated,
MalformedResponse,
Other(String),
}Variants§
Timeout
HttpStatus(u16)
ConnectionFailed
RateLimited
StreamBroken
EmptyResponse
Truncated
MalformedResponse
Other(String)
Trait Implementations§
Source§impl Clone for ObservationError
impl Clone for ObservationError
Source§fn clone(&self) -> ObservationError
fn clone(&self) -> ObservationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ObservationError
impl RefUnwindSafe for ObservationError
impl Send for ObservationError
impl Sync for ObservationError
impl Unpin for ObservationError
impl UnsafeUnpin for ObservationError
impl UnwindSafe for ObservationError
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