EOFError
Mojo struct 🡭
EOFError
Section titled “EOFError”@register_passable_trivialstruct EOFErrorRaised when no more input is available (end of file or stream).
FastqParser and LineIterator raise EOFError when next_view()/next_record()
or next_line() is called and there is no more data. Iterators catch it
and raise StopIteration instead.
Implemented traits
Section titled “Implemented traits”AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable, Writable
Methods
Section titled “Methods”write_to
Section titled “write_to”def write_to(self, mut writer: T)Args:
- self (
Self) - writer (
T)