pub trait FromBufReadSI: Sized {
// Required method
fn from_buf_read<R>(
r: R,
system_info: &(dyn SystemInfoInterface + 'static),
) -> Result<Self, ProcError>
where R: BufRead;
}Expand description
Types which can be parsed from a BufRead implementation and system info.
Required Methods§
fn from_buf_read<R>(
r: R,
system_info: &(dyn SystemInfoInterface + 'static),
) -> Result<Self, ProcError>where
R: BufRead,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.