Struct lightning_signer::signer::ClockStartingTimeFactory
source · pub struct ClockStartingTimeFactory {}
Expand description
A starting time factory which uses a hi-res tstamp for entropy
Implementations§
source§impl ClockStartingTimeFactory
impl ClockStartingTimeFactory
sourcepub fn new() -> Arc<dyn StartingTimeFactory>
pub fn new() -> Arc<dyn StartingTimeFactory>
Create a ClockStartingTimeFactory
Trait Implementations§
source§impl StartingTimeFactory for ClockStartingTimeFactory
impl StartingTimeFactory for ClockStartingTimeFactory
source§fn starting_time(&self) -> (u64, u32)
fn starting_time(&self) -> (u64, u32)
Generate unique entropy
impl SendSync for ClockStartingTimeFactory
Auto Trait Implementations§
impl RefUnwindSafe for ClockStartingTimeFactory
impl Send for ClockStartingTimeFactory
impl Sync for ClockStartingTimeFactory
impl Unpin for ClockStartingTimeFactory
impl UnwindSafe for ClockStartingTimeFactory
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