Trait destream::en::EncodeTuple [−][src]
Returned from Encoder::encode_tuple
.
Associated Types
type Ok: Stream + Send + Unpin + 'en
[src]
Must match the Ok
type of the parent Encoder
.
type Error: Error + Send + Unpin + 'en
[src]
Must match the Error
type of the parent Encoder
.
Required methods
fn encode_element<V: IntoStream<'en> + 'en>(
&mut self,
value: V
) -> Result<(), Self::Error>
[src]
&mut self,
value: V
) -> Result<(), Self::Error>
Encode the next element in the tuple.
fn end(self) -> Result<Self::Ok, Self::Error>
[src]
Finish encoding the tuple.