Struct chromiumoxide::cdp::browser_protocol::io::CloseParams
source · pub struct CloseParams {
pub handle: StreamHandle,
}Expand description
Close the stream, discard any temporary backing storage. close
Fields§
§handle: StreamHandleHandle of the stream to close.
Implementations§
source§impl CloseParams
impl CloseParams
pub fn new(handle: impl Into<StreamHandle>) -> CloseParams
source§impl CloseParams
impl CloseParams
pub fn builder() -> CloseParamsBuilder
source§impl CloseParams
impl CloseParams
pub const IDENTIFIER: &'static str = "IO.close"
Trait Implementations§
source§impl Clone for CloseParams
impl Clone for CloseParams
source§fn clone(&self) -> CloseParams
fn clone(&self) -> CloseParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Command for CloseParams
impl Command for CloseParams
§type Response = CloseReturns
type Response = CloseReturns
The type of the response this request triggers on the chromium server
source§impl Debug for CloseParams
impl Debug for CloseParams
source§impl<'de> Deserialize<'de> for CloseParams
impl<'de> Deserialize<'de> for CloseParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CloseParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CloseParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for CloseParams
impl Method for CloseParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodesource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMsource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodesource§impl MethodType for CloseParams
impl MethodType for CloseParams
source§impl PartialEq<CloseParams> for CloseParams
impl PartialEq<CloseParams> for CloseParams
source§fn eq(&self, other: &CloseParams) -> bool
fn eq(&self, other: &CloseParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CloseParams
impl Serialize for CloseParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more