[−][src]Struct apigpio::trackbuf::Communicator
Methods
impl<RW: AsyncRead + AsyncWrite + Unpin> Communicator<RW>[src]
pub fn new(connection: RW) -> Communicator<RW>[src]
pub fn into_inner(self) -> RW[src]
Methods from Deref<Target = CommunicatorSplit<ReadHalf<RW>, WriteHalf<RW>>>
pub async fn communicate<'_, '_, '_, '_>(
&'_ mut self,
cmdvec: &'_ [&'_ [u8]],
__arg2: &'_ mut [u8]
) -> Result<()>[src]
&'_ mut self,
cmdvec: &'_ [&'_ [u8]],
__arg2: &'_ mut [u8]
) -> Result<()>
Trait Implementations
impl<RW: AsyncRead + AsyncWrite> Deref for Communicator<RW>[src]
type Target = CommunicatorSplit<ReadHalf<RW>, WriteHalf<RW>>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
impl<RW: AsyncRead + AsyncWrite> DerefMut for Communicator<RW>[src]
Auto Trait Implementations
impl<RW> !RefUnwindSafe for Communicator<RW>
impl<RW> Send for Communicator<RW> where
RW: Send,
RW: Send,
impl<RW> Sync for Communicator<RW> where
RW: Sync,
RW: Sync,
impl<RW> Unpin for Communicator<RW>
impl<RW> !UnwindSafe for Communicator<RW>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,