pub struct InMemoryStakeRegistry { /* private fields */ }Expand description
In-memory stake registry for testing
Implementations§
Source§impl InMemoryStakeRegistry
impl InMemoryStakeRegistry
Sourcepub fn new() -> InMemoryStakeRegistry
pub fn new() -> InMemoryStakeRegistry
Create a new empty stake registry
Trait Implementations§
Source§impl Debug for InMemoryStakeRegistry
impl Debug for InMemoryStakeRegistry
Source§impl Default for InMemoryStakeRegistry
impl Default for InMemoryStakeRegistry
Source§fn default() -> InMemoryStakeRegistry
fn default() -> InMemoryStakeRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryStakeRegistry
impl RefUnwindSafe for InMemoryStakeRegistry
impl Send for InMemoryStakeRegistry
impl Sync for InMemoryStakeRegistry
impl Unpin for InMemoryStakeRegistry
impl UnwindSafe for InMemoryStakeRegistry
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