pub struct Read {
pub method: ReadMethod,
pub params: ReadParams,
}Expand description
Read a chunk of the stream read
Fields§
§method: ReadMethod§params: ReadParamsImplementations§
Source§impl Read
impl Read
pub const IDENTIFIER: &'static str = "IO.read"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Read
impl CommandResult for Read
type Result = ReadResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Read
impl<'de> Deserialize<'de> for Read
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Read> for BrowserProtocolCommands
impl From<Read> for BrowserProtocolCommands
Source§impl From<Read> for IoCommands
impl From<Read> for IoCommands
Source§impl TryFrom<BrowserProtocolCommands> for Read
impl TryFrom<BrowserProtocolCommands> for Read
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <Read as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Read as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IoCommands> for Read
impl TryFrom<IoCommands> for Read
Source§type Error = IoCommands
type Error = IoCommands
The type returned in the event of a conversion error.
Source§fn try_from(e: IoCommands) -> Result<Self, <Read as TryFrom<IoCommands>>::Error>
fn try_from(e: IoCommands) -> Result<Self, <Read as TryFrom<IoCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Read
Auto Trait Implementations§
impl Freeze for Read
impl RefUnwindSafe for Read
impl Send for Read
impl Sync for Read
impl Unpin for Read
impl UnsafeUnpin for Read
impl UnwindSafe for Read
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