pub trait DropNotifyEofSignallable {
    // Required methods
    fn eof() -> Self;
    fn is_eof(&self) -> bool;
}
Expand description

Values that can signal EOF

Implemented for Option, which is usually what you want to use.

Required Methods§

source

fn eof() -> Self

Generate the EOF value

source

fn is_eof(&self) -> bool

Does this value indicate EOF

Implementations on Foreign Types§

source§

impl<T> DropNotifyEofSignallable for Option<T>

source§

fn eof() -> Self

source§

fn is_eof(&self) -> bool

Implementors§