pub struct ResponseIdGenerators { /* private fields */ }Expand description
Holds the per-kind id generators used to mint request, run, response, and event ids for a single response execution.
Implementations§
Source§impl ResponseIdGenerators
impl ResponseIdGenerators
Sourcepub fn deterministic(start: u64) -> Self
pub fn deterministic(start: u64) -> Self
Builds id generators seeded deterministically from start, so a given
seed always yields the same id sequence.
Trait Implementations§
Source§impl Clone for ResponseIdGenerators
impl Clone for ResponseIdGenerators
Source§fn clone(&self) -> ResponseIdGenerators
fn clone(&self) -> ResponseIdGenerators
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 ResponseIdGenerators
impl RefUnwindSafe for ResponseIdGenerators
impl Send for ResponseIdGenerators
impl Sync for ResponseIdGenerators
impl Unpin for ResponseIdGenerators
impl UnsafeUnpin for ResponseIdGenerators
impl UnwindSafe for ResponseIdGenerators
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