Skip to main content

SpecReadByte

Trait SpecReadByte 

Source
#[doc(hidden)]
pub trait SpecReadByte { // Required method fn spec_read_byte(&mut self) -> Option<Result<u8>>; }
🔬This is a nightly-only experimental API. (core_io_internals)
Expand description

For the specialization of Bytes::next.

Required Methods§

Source

fn spec_read_byte(&mut self) -> Option<Result<u8>>

🔬This is a nightly-only experimental API. (core_io_internals)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<R> SpecReadByte for BufReader<R>
where Self: Read,

Source§

impl<R> SpecReadByte for R
where Self: Read,