Struct cdp::io::ReadResponse
[−]
[src]
pub struct ReadResponse<'a> { pub base_64_encoded: Option<bool>, pub data: Cow<'a, str>, pub eof: bool, }
[Experimental] Read a chunk of the stream
Command IO.read
Domain Module: cdp::io
Command Struct: cdp::io::ReadCommand
Response Struct: cdp::io::ReadResponse
Fields
base_64_encoded: Option<bool>
Set if the data is base64-encoded
data: Cow<'a, str>
Data that were read.
eof: bool
Set if the end-of-file condition occured while reading.
Trait Implementations
impl<'a> Clone for ReadResponse<'a>
[src]
fn clone(&self) -> ReadResponse<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for ReadResponse<'a>
[src]
impl<'a> PartialEq for ReadResponse<'a>
[src]
fn eq(&self, __arg_0: &ReadResponse<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ReadResponse<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for ReadResponse<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "IO.read"