[−][src]Trait destream::en::EncodeSeq
Returned from Encoder::encode_seq
.
Associated Types
type Ok: Stream + 'en
[src]
Must match the Ok
type of the parent Encoder
.
type Error: Error + 'en
[src]
Must match the Error
type of the parent Encoder
.
Required methods
pub 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 sequence.
pub fn end(self) -> Result<Self::Ok, Self::Error>
[src]
Finish encoding the sequence.