pub struct BufferedUnit {
pub events: Vec<UdmEvent>,
pub filepath: PathBuf,
}Expand description
One buffered unit: the events written together, in order.
Fields§
§events: Vec<UdmEvent>The events, in the order they were buffered.
filepath: PathBufPath to the buffer file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BufferedUnit
impl RefUnwindSafe for BufferedUnit
impl Send for BufferedUnit
impl Sync for BufferedUnit
impl Unpin for BufferedUnit
impl UnsafeUnpin for BufferedUnit
impl UnwindSafe for BufferedUnit
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