pub struct IOError {
pub inner: Rc<dyn IOErrorTrait>,
}Fields§
§inner: Rc<dyn IOErrorTrait>Implementations§
source§impl IOError
impl IOError
sourcepub fn downcast_ref<T: IOErrorTrait>(&self) -> Option<&T>
pub fn downcast_ref<T: IOErrorTrait>(&self) -> Option<&T>
Helper for downcasting into the internal error type
Due to how finnicky this is to get right, with coercing the Rc
Trait Implementations§
source§impl<E: IOErrorTrait> From<E> for IOError
impl<E: IOErrorTrait> From<E> for IOError
Auto Trait Implementations§
impl !RefUnwindSafe for IOError
impl !Send for IOError
impl !Sync for IOError
impl Unpin for IOError
impl !UnwindSafe for IOError
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