pub enum CdpError {
Network(Error),
Ws(Error),
Json(Error),
NotFound,
Timeout {
method: String,
timeout: Duration,
},
NoPageTargetFound(String),
InternalError(String),
ProtocolError {
code: i64,
message: String,
},
Disconnected,
}Variants§
Network(Error)
Ws(Error)
Json(Error)
NotFound
Timeout
NoPageTargetFound(String)
InternalError(String)
ProtocolError
Disconnected
Trait Implementations§
Source§impl Error for CdpError
impl Error for CdpError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CdpError> for BrowserError
impl From<CdpError> for BrowserError
Auto Trait Implementations§
impl !RefUnwindSafe for CdpError
impl !UnwindSafe for CdpError
impl Freeze for CdpError
impl Send for CdpError
impl Sync for CdpError
impl Unpin for CdpError
impl UnsafeUnpin for CdpError
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