pub enum IoCommands {
Close(Close),
Read(Read),
ResolveBlob(ResolveBlob),
}Variants§
Implementations§
Source§impl IoCommands
impl IoCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for IoCommands
impl Clone for IoCommands
Source§fn clone(&self) -> IoCommands
fn clone(&self) -> IoCommands
Returns a duplicate 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 Debug for IoCommands
impl Debug for IoCommands
Source§impl<'de> Deserialize<'de> for IoCommands
impl<'de> Deserialize<'de> for IoCommands
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 IoCommands
impl From<Close> for IoCommands
Source§impl From<IoCommands> for BrowserProtocolCommands
impl From<IoCommands> for BrowserProtocolCommands
Source§fn from(v: IoCommands) -> Self
fn from(v: IoCommands) -> Self
Converts to this type from the input type.
Source§impl From<IoCommands> for Command
impl From<IoCommands> for Command
Source§fn from(v: IoCommands) -> Self
fn from(v: IoCommands) -> Self
Converts to this type from the input type.
Source§impl From<Read> for IoCommands
impl From<Read> for IoCommands
Source§impl From<ResolveBlob> for IoCommands
impl From<ResolveBlob> for IoCommands
Source§fn from(v: ResolveBlob) -> Self
fn from(v: ResolveBlob) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IoCommands
impl PartialEq for IoCommands
Source§impl Serialize for IoCommands
impl Serialize for IoCommands
Source§impl TryFrom<BrowserProtocolCommands> for IoCommands
impl TryFrom<BrowserProtocolCommands> for IoCommands
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, <IoCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <IoCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for IoCommands
impl TryFrom<Command> for IoCommands
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.
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.
Source§impl TryFrom<IoCommands> for ResolveBlob
impl TryFrom<IoCommands> for ResolveBlob
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, <ResolveBlob as TryFrom<IoCommands>>::Error>
fn try_from( e: IoCommands, ) -> Result<Self, <ResolveBlob as TryFrom<IoCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for IoCommands
Auto Trait Implementations§
impl Freeze for IoCommands
impl RefUnwindSafe for IoCommands
impl Send for IoCommands
impl Sync for IoCommands
impl Unpin for IoCommands
impl UnsafeUnpin for IoCommands
impl UnwindSafe for IoCommands
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