pub struct IoPolicy {
pub read_error: IoErrorPolicy,
pub write_error: IoErrorPolicy,
pub open_error: IoErrorPolicy,
}Expand description
A policy object that controls I/O error handling.
Fields§
§read_error: IoErrorPolicy§write_error: IoErrorPolicy§open_error: IoErrorPolicyImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IoPolicy
impl RefUnwindSafe for IoPolicy
impl Send for IoPolicy
impl Sync for IoPolicy
impl Unpin for IoPolicy
impl UnsafeUnpin for IoPolicy
impl UnwindSafe for IoPolicy
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