pub trait DropNotifyEofSignallable {
    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§

Generate the EOF value

Does this value indicate EOF

Implementations on Foreign Types§

Implementors§