pub struct InMemoryReceiptSink { /* private fields */ }Implementations§
Source§impl InMemoryReceiptSink
impl InMemoryReceiptSink
Sourcepub fn receipts(&self) -> Vec<ToolReceipt>
pub fn receipts(&self) -> Vec<ToolReceipt>
Returns a clone of the receipts persisted into this in-memory sink.
Trait Implementations§
Source§impl Default for InMemoryReceiptSink
impl Default for InMemoryReceiptSink
Source§fn default() -> InMemoryReceiptSink
fn default() -> InMemoryReceiptSink
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryReceiptSink
impl RefUnwindSafe for InMemoryReceiptSink
impl Send for InMemoryReceiptSink
impl Sync for InMemoryReceiptSink
impl Unpin for InMemoryReceiptSink
impl UnsafeUnpin for InMemoryReceiptSink
impl UnwindSafe for InMemoryReceiptSink
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