pub struct Registry { /* private fields */ }Expand description
The test vector registry
Implementations§
Source§impl Registry
impl Registry
Sourcepub fn new(root: impl Into<PathBuf>) -> Self
pub fn new(root: impl Into<PathBuf>) -> Self
Create a new registry from the given jam-test-vectors directory
Sourcepub fn accumulate(&self, scale: Scale) -> Result<Entry>
pub fn accumulate(&self, scale: Scale) -> Result<Entry>
Get the accumulate test vectors
Sourcepub fn assurances(&self, scale: Scale) -> Result<Entry>
pub fn assurances(&self, scale: Scale) -> Result<Entry>
Get the assurances test vectors
Get the authorizations test vectors
Sourcepub fn statistics(&self, scale: Scale) -> Result<Entry>
pub fn statistics(&self, scale: Scale) -> Result<Entry>
Get the statistics test vectors
Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnwindSafe for Registry
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