1 2 3 4 5 6 7 8 9 10
//! Types and functions for handling system status events. use bnr_xfs::CdrStatus; use crate::{with_handle, Result}; /// Gets the status of the CDR device. pub fn get_status() -> Result<CdrStatus> { with_handle::<CdrStatus>(|h| h.get_status()) }