Struct cdp::io::ReadCommand [] [src]

pub struct ReadCommand<'a> {
    pub handle: StreamHandle<'a>,
    pub offset: Option<i32>,
    pub size: Option<i32>,
}

[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

Handle of the stream to read.

Seek to the specified offset before reading (if not specificed, proceed with offset following the last read).

Maximum number of bytes to read (left upon the agent discretion if not specified).

Trait Implementations

impl<'a> Clone for ReadCommand<'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 ReadCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ReadCommand<'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 ReadCommand<'a>
[src]

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

impl<'a> SerializeCdpCommand for ReadCommand<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpCommand<'de> for ReadCommand<'a>
[src]

[src]

impl<'b, 'a> HasCdpResponse<'b> for ReadCommand<'a>
[src]