pub(crate) struct Closed {
pub file: Option<File>,
pub written: u64,
}Expand description
What a closed outlet leaves: the file it was writing, if it had opened, and how many bytes went through it.
Fields§
§file: Option<File>§written: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Closed
impl RefUnwindSafe for Closed
impl Send for Closed
impl Sync for Closed
impl Unpin for Closed
impl UnsafeUnpin for Closed
impl UnwindSafe for Closed
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