1 2 3 4 5 6 7 8 9 10 11
//! Error type conversions for stdlib types. use std::io; use crate::error::SafebitStreamError; impl From<io::Error> for SafebitStreamError<io::Error> { fn from(value: io::Error) -> Self { SafebitStreamError::ReadError(value) } }