pub struct Emitted<O> {
pub value: O,
pub bytes_read: usize,
pub work: u64,
}Expand description
What a direct read gives back: its value, the bytes it read (from the
start of data; past its end after a final alignment, as UnityPyBoost’s
ptr - start), and the open’s work it did.
Fields§
§value: OThe root’s value.
bytes_read: usizebytes_read.
work: u64The work to count on the open’s meter.
Auto Trait Implementations§
impl<O> Forget for Emitted<O>
impl<O> Freeze for Emitted<O>where
O: Freeze,
impl<O> Move for Emitted<O>
impl<O> RefUnwindSafe for Emitted<O>where
O: RefUnwindSafe,
impl<O> Send for Emitted<O>where
O: Send,
impl<O> Sync for Emitted<O>where
O: Sync,
impl<O> Unpin for Emitted<O>where
O: Unpin,
impl<O> UnsafeUnpin for Emitted<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for Emitted<O>where
O: UnwindSafe,
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