Enum cdp_rs::MessageError
source · pub enum MessageError {
NetworkError(NetworkError),
InvalidRequest(Value),
InvalidResponse,
NoMessage,
}Variants
NetworkError(NetworkError)
An error occurred while sending or recieving a message
InvalidRequest(Value)
The sent request was invalid
InvalidResponse
A response was recieved from the CDP connection that was not properly formatted
NoMessage
Returned when calling a wait method on the CDP connection but no messages are available
Trait Implementations
sourceimpl Debug for MessageError
impl Debug for MessageError
Auto Trait Implementations
impl !RefUnwindSafe for MessageError
impl Send for MessageError
impl Sync for MessageError
impl Unpin for MessageError
impl !UnwindSafe for MessageError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more