pub struct ResourcePoolEventCursor { /* private fields */ }Implementations§
Source§impl ResourcePoolEventCursor
impl ResourcePoolEventCursor
pub fn new(evidence: ResourcePoolEvidence) -> Self
pub fn observe(&mut self, event: &ResourcePoolEvent) -> Result<(), VNextError>
pub const fn last_sequence(&self) -> u64
pub const fn is_open(&self) -> bool
pub const fn is_closed(&self) -> bool
Trait Implementations§
Source§impl Clone for ResourcePoolEventCursor
impl Clone for ResourcePoolEventCursor
Source§fn clone(&self) -> ResourcePoolEventCursor
fn clone(&self) -> ResourcePoolEventCursor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResourcePoolEventCursor
impl RefUnwindSafe for ResourcePoolEventCursor
impl Send for ResourcePoolEventCursor
impl Sync for ResourcePoolEventCursor
impl Unpin for ResourcePoolEventCursor
impl UnsafeUnpin for ResourcePoolEventCursor
impl UnwindSafe for ResourcePoolEventCursor
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