pub struct Close {
pub method: CloseMethod,
pub params: CloseParams,
}Expand description
Close the stream, discard any temporary backing storage. close
Fields§
§method: CloseMethod§params: CloseParamsImplementations§
Source§impl Close
impl Close
pub const IDENTIFIER: &'static str = "IO.close"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Close
impl CommandResult for Close
type Result = CloseResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Close
impl<'de> Deserialize<'de> for Close
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<Close> for BrowserProtocolCommands
impl From<Close> for BrowserProtocolCommands
Source§impl From<Close> for IoCommands
impl From<Close> for IoCommands
Source§impl TryFrom<BrowserProtocolCommands> for Close
impl TryFrom<BrowserProtocolCommands> for Close
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, <Close as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Close as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<IoCommands> for Close
impl TryFrom<IoCommands> for Close
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, <Close as TryFrom<IoCommands>>::Error>
fn try_from( e: IoCommands, ) -> Result<Self, <Close as TryFrom<IoCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Close
Auto Trait Implementations§
impl Freeze for Close
impl RefUnwindSafe for Close
impl Send for Close
impl Sync for Close
impl Unpin for Close
impl UnsafeUnpin for Close
impl UnwindSafe for Close
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