pub struct Execute<C, I = Never> {
pub execute: PhantomData<&'static str>,
pub arguments: C,
pub id: Option<I>,
}Fields§
§execute: PhantomData<&'static str>§arguments: C§id: Option<I>Implementations§
Trait Implementations§
Source§impl<C, I> Serialize for Execute<C, I>
impl<C, I> Serialize for Execute<C, I>
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
Source§impl<S: AsyncWrite, C: QgaCommand, I: Serialize> Sink<Execute<C, I>> for QgaStreamTokio<S>
impl<S: AsyncWrite, C: QgaCommand, I: Serialize> Sink<Execute<C, I>> for QgaStreamTokio<S>
Source§fn start_send(
self: Pin<&mut Self>,
item: Execute<C, I>,
) -> Result<(), Self::Error>
fn start_send( self: Pin<&mut Self>, item: Execute<C, I>, ) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready which returned Poll::Ready(Ok(())). Read moreSource§fn poll_ready(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Self::Error>>
fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Self::Error>>
Attempts to prepare the
Sink to receive a value. Read moreSource§impl<S: AsyncWrite, C: QmpCommand, I: Serialize> Sink<Execute<C, I>> for QmpStreamTokio<S>
impl<S: AsyncWrite, C: QmpCommand, I: Serialize> Sink<Execute<C, I>> for QmpStreamTokio<S>
Source§fn start_send(
self: Pin<&mut Self>,
item: Execute<C, I>,
) -> Result<(), Self::Error>
fn start_send( self: Pin<&mut Self>, item: Execute<C, I>, ) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready which returned Poll::Ready(Ok(())). Read moreSource§fn poll_ready(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Self::Error>>
fn poll_ready( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Self::Error>>
Attempts to prepare the
Sink to receive a value. Read moreAuto Trait Implementations§
impl<C, I> Freeze for Execute<C, I>
impl<C, I> RefUnwindSafe for Execute<C, I>where
C: RefUnwindSafe,
I: RefUnwindSafe,
impl<C, I> Send for Execute<C, I>
impl<C, I> Sync for Execute<C, I>
impl<C, I> Unpin for Execute<C, I>
impl<C, I> UnwindSafe for Execute<C, I>where
C: UnwindSafe,
I: UnwindSafe,
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