pub struct Command<'a, T: CdpCommand> {
pub id: u64,
pub method: &'static str,
pub params: &'a T,
}Expand description
A generic CDP command envelope.
Fields§
§id: u64§method: &'static str§params: &'a TImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Command<'a, T>
impl<'a, T> RefUnwindSafe for Command<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Command<'a, T>where
T: Sync,
impl<'a, T> Sync for Command<'a, T>where
T: Sync,
impl<'a, T> Unpin for Command<'a, T>
impl<'a, T> UnsafeUnpin for Command<'a, T>
impl<'a, T> UnwindSafe for Command<'a, T>where
T: RefUnwindSafe,
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