pub trait DropNotifyEofSignallable {
// Required method
fn eof() -> Self;
// Provided method
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§
Provided Methods§
sourcefn is_eof(&self) -> bool
👎Deprecated
fn is_eof(&self) -> bool
Does this value indicate EOF?
§Deprecated
This method is deprecated.
It should not be called, or defined, in new programs.
It is not required by DropNotifyWatchSender
.
The provided implementation always returns false
.
Object Safety§
This trait is not object safe.