pub enum OutputBytes<'a> {
Write(&'a [u8]),
Read(RecordRead),
Complete,
}Expand description
The next bytes of accepted output; see IltpCodec::output_bytes.
Variants§
Write(&'a [u8])
Bytes the writer must take next.
Read(RecordRead)
Record bytes the owner must read and return with
IltpCodec::complete_read before
more output exists.
Complete
The accepted output is complete, or none is accepted.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for OutputBytes<'a>
impl<'a> RefUnwindSafe for OutputBytes<'a>
impl<'a> Send for OutputBytes<'a>
impl<'a> Sync for OutputBytes<'a>
impl<'a> Unpin for OutputBytes<'a>
impl<'a> UnsafeUnpin for OutputBytes<'a>
impl<'a> UnwindSafe for OutputBytes<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more