pub struct CdpResponse {
pub id: u64,
pub result: Result<Value, CdpProtocolError>,
pub session_id: Option<String>,
}Expand description
Parsed CDP response (has an id).
Fields§
§id: u64The message ID that correlates to the sent command.
result: Result<Value, CdpProtocolError>The result: either a successful value or a protocol error.
session_id: Option<String>Session ID if this response is session-scoped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CdpResponse
impl RefUnwindSafe for CdpResponse
impl Send for CdpResponse
impl Sync for CdpResponse
impl Unpin for CdpResponse
impl UnsafeUnpin for CdpResponse
impl UnwindSafe for CdpResponse
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