Module natural_transform
deep_learning_playground::utils
opt_to_failure is a natural transformation that convers Option<...> to Result<..., Error>.
opt_to_failure
Option<...>
Result<..., Error>
to_failure is a natural transformation that convers Result<T, E> to Result<T, Error>.
to_failure
Result<T, E>
Result<T, Error>
failure_to_io is a natural transformation that convers Result<T, E> to std::io::Result<T>.
failure_to_io
std::io::Result<T>