1 2 3 4 5 6 7
use std::error::Error; #[derive(Debug)] pub enum AvailabilityError { NotSupported, NotAvailable(Option<Box<dyn Error>>), }