[−][src]Struct yz_packet_stream::PacketStream
Implementations
impl<T> PacketStream<T>
[src]
Trait Implementations
impl<T: Debug> Debug for PacketStream<T>
[src]
impl<B, T> Sink<B> for PacketStream<T> where
B: AsRef<[u8]>,
T: AsyncWrite + Debug,
[src]
B: AsRef<[u8]>,
T: AsyncWrite + Debug,
type Error = Error
The type of value produced by the sink when an error occurs.
fn poll_ready(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), Error>>
[src]
fn start_send(self: Pin<&mut Self>, item: B) -> Result<(), Error>
[src]
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), Error>>
[src]
fn poll_close(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), Error>>
[src]
impl<T> Stream for PacketStream<T> where
T: AsyncRead + Debug,
[src]
T: AsyncRead + Debug,
type Item = Result<Bytes>
Values yielded by the stream.
fn poll_next(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Option<Self::Item>>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<'__pin, T> Unpin for PacketStream<T> where
__Origin<'__pin, T>: Unpin,
[src]
__Origin<'__pin, T>: Unpin,
Auto Trait Implementations
impl<T> RefUnwindSafe for PacketStream<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for PacketStream<T> where
T: Send,
T: Send,
impl<T> Sync for PacketStream<T> where
T: Sync,
T: Sync,
impl<T> UnwindSafe for PacketStream<T> where
T: UnwindSafe,
T: UnwindSafe,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<S, T, E> TryStream for S where
S: Stream<Item = Result<T, E>> + ?Sized,
[src]
S: Stream<Item = Result<T, E>> + ?Sized,