pub struct FixedRunIds { /* private fields */ }Expand description
A source that hands out a fixed sequence, then refuses. Exists so tests can drive claim-time logic with identities they chose in advance.
Implementations§
Source§impl FixedRunIds
impl FixedRunIds
pub fn new(ids: impl IntoIterator<Item = String>) -> Self
Trait Implementations§
Source§impl Debug for FixedRunIds
impl Debug for FixedRunIds
Source§impl RunIdSource for FixedRunIds
impl RunIdSource for FixedRunIds
Auto Trait Implementations§
impl !Freeze for FixedRunIds
impl RefUnwindSafe for FixedRunIds
impl Send for FixedRunIds
impl Sync for FixedRunIds
impl Unpin for FixedRunIds
impl UnsafeUnpin for FixedRunIds
impl UnwindSafe for FixedRunIds
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