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

Set if the data is base64-encoded

Data that were read.

Set if the end-of-file condition occured while reading.

Trait Implementations

impl<'a> Clone for ReadResponse<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ReadResponse<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ReadResponse<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpCommand for ReadResponse<'a>
[src]

COMMAND_NAME: &'static str = "IO.read"

impl<'a, 'b> HasCdpCommand<'a> for ReadResponse<'b>
[src]