pub struct MantraMiner { /* private fields */ }
Expand description
A mantra miner that spawns a thread and “recites” mantras by writing them to an output buffer.
Implementations§
Source§impl MantraMiner
impl MantraMiner
Sourcepub fn new(options: Options) -> MantraMiner
pub fn new(options: Options) -> MantraMiner
Returns a new instance of MantraMiner
with the given options.
Auto Trait Implementations§
impl Freeze for MantraMiner
impl !RefUnwindSafe for MantraMiner
impl Send for MantraMiner
impl Sync for MantraMiner
impl Unpin for MantraMiner
impl !UnwindSafe for MantraMiner
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