Struct bytecodec::combinator::Repeat [−][src]
pub struct Repeat<E, I> { /* fields omitted */ }
Expand description
Combinator for repeating encoding of E::Item
.
This is created by calling EncodeExt::repeat
method.
Implementations
Trait Implementations
Auto Trait Implementations
impl<E, I> RefUnwindSafe for Repeat<E, I> where
E: RefUnwindSafe,
I: RefUnwindSafe,
impl<E, I> UnwindSafe for Repeat<E, I> where
E: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Encodes the items remaining in the encoder and writes the encoded bytes to the given write buffer. Read more
Encodes the items remaining in the encoder and
writes the encoded bytes to the given write buffer.
If the write buffer is full and the writing cannot be performed,
the given WriteBuf will memorize cx’s Waker
.
This Waker
’s wake
will later be called when the WriteBuf
regains its free space. Read more