Trait IOBase

Source
pub trait IOBase {
    type Error: IOError;
}
Expand description

All other IO traits (Read, Write and Seek) are supertraits of this

Used to define a shared error type for these traits

Required Associated Types§

Source

type Error: IOError

The error type

Implementors§

Source§

impl<S> IOBase for File<'_, S>
where S: Read + Write + Seek,

Source§

type Error = <S as IOBase>::Error

Source§

impl<T> IOBase for T
where T: Read + Write + Seek,