pub enum Share {
Extended(SubmitSharesExtended<'static>),
Standard((SubmitSharesStandard, u32)),
}
Expand description
A share can be both extended or standard
Variants§
Extended(SubmitSharesExtended<'static>)
Standard((SubmitSharesStandard, u32))
Implementations§
pub fn get_sequence_number(&self) -> u32
pub fn get_channel_id(&self) -> u32
pub fn get_n_time(&self) -> u32
pub fn get_nonce(&self) -> u32
pub fn get_job_id(&self) -> u32
pub fn get_version(&self) -> u32
Trait Implementations§
Auto Trait Implementations§
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