pub enum DSError {
IO(Error),
Mutex,
}
Expand description
Current implementation Expand upon the basic solution from ds4.rs. Include proper error handling and replace unwrap() with ? where possible. Increase functionality with additional command line options and windows support.
Variants§
Trait Implementations§
Source§impl<T> From<PoisonError<T>> for DSError
impl<T> From<PoisonError<T>> for DSError
Source§fn from(_: PoisonError<T>) -> DSError
fn from(_: PoisonError<T>) -> DSError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DSError
impl !RefUnwindSafe for DSError
impl Send for DSError
impl Sync for DSError
impl Unpin for DSError
impl !UnwindSafe for DSError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more