pub struct IoFailed {
pub action: IoAction,
pub target: IoTarget,
pub error: Error,
}
Expand description
Describes a failure to perform I/O.
Fields§
§action: IoAction
Indicates the nature of the I/O operation we were attempting.
target: IoTarget
Indiates what thing we were trying to perform the I/O operation on.
error: Error
Indicates what, specifically, went wrong.
Trait Implementations§
impl Eq for IoFailed
Auto Trait Implementations§
impl Freeze for IoFailed
impl !RefUnwindSafe for IoFailed
impl Send for IoFailed
impl Sync for IoFailed
impl Unpin for IoFailed
impl !UnwindSafe for IoFailed
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.