#[non_exhaustive]
pub struct Empty;
Expand description
返回内部缓冲区的内容,如果内部缓冲区为空,则使用内部 reader 中的更多数据填充内部缓冲区。 Read more
告诉此缓冲区 amt
字节已从缓冲区中消耗掉,因此在调用 read
时不再应返回它们。 Read more
🔬 This is a nightly-only experimental API. (
buf_read_has_data_left
#86423)
读取所有字节,直到到达换行符 (0xA
字节),然后将它们追加到提供的缓冲区中。 Read more
🔬 This is a nightly-only experimental API. (
read_buf
#78485)
🔬 This is a nightly-only experimental API. (
can_vector
#69941)
读取这个源中的所有字节,直到 EOF 为止,然后将它们追加到 buf
。 Read more
🔬 This is a nightly-only experimental API. (
read_buf
#78485)
为这个 Read
实例创建一个 “by reference” 适配器。 Read more
🔬 This is a nightly-only experimental API. (
seek_stream_len
#59359)
impl<T> Any for T where
T: 'static + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
🔬 This is a nightly-only experimental API. (
toowned_clone_into
#41263)