pub struct IOClient { /* private fields */ }Expand description
Client for IO domain commands.
Implementations§
Source§impl IOClient
impl IOClient
Sourcepub async fn close(
&self,
params: CloseParams,
session_id: Option<&str>,
) -> Result<Value, CdpError>
pub async fn close( &self, params: CloseParams, session_id: Option<&str>, ) -> Result<Value, CdpError>
Close the stream, discard any temporary backing storage.
Sourcepub async fn read(
&self,
params: ReadParams,
session_id: Option<&str>,
) -> Result<ReadReturns, CdpError>
pub async fn read( &self, params: ReadParams, session_id: Option<&str>, ) -> Result<ReadReturns, CdpError>
Read a chunk of the stream
Sourcepub async fn resolve_blob(
&self,
params: ResolveBlobParams,
session_id: Option<&str>,
) -> Result<ResolveBlobReturns, CdpError>
pub async fn resolve_blob( &self, params: ResolveBlobParams, session_id: Option<&str>, ) -> Result<ResolveBlobReturns, CdpError>
Return UUID of Blob object specified by a remote object id.
Auto Trait Implementations§
impl Freeze for IOClient
impl !RefUnwindSafe for IOClient
impl Send for IOClient
impl Sync for IOClient
impl Unpin for IOClient
impl UnsafeUnpin for IOClient
impl !UnwindSafe for IOClient
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