pub struct FragmentLogVerifier {
rest: JormungandrRest,
}
Fields§
§rest: JormungandrRest
Implementations§
source§impl FragmentLogVerifier
impl FragmentLogVerifier
pub fn new(rest: JormungandrRest) -> Self
pub fn assert_size(self, size: usize) -> Self
pub fn assert_contains_only(self, hash: &Hash) -> Self
pub fn assert_empty(self) -> Self
pub fn assert_all_valid(self, mem_pool_checks: &[MemPoolCheck]) -> Self
pub fn assert_valid(self, mem_pool_check: &MemPoolCheck) -> Self
pub fn assert_not_exist(self, mem_pool_check: &MemPoolCheck) -> Self
pub fn assert_invalid(self, mem_pool_check: &MemPoolCheck) -> Self
pub fn assert_no_fragments(self) -> Self
pub fn assert_in_block(&self, fragment_status: &FragmentStatus)
pub fn assert_not_in_block(&self, fragment_status: &FragmentStatus)
pub fn assert_invalid_id(self, id: String, prefix: &str) -> Self
pub fn assert_single_id(self, id: String, prefix: &str) -> Self
pub fn assert_multiple_ids(self, ids: Vec<String>, prefix: &str) -> Self
pub fn assert_empty_ids(self, ids: Vec<String>, prefix: &str) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for FragmentLogVerifier
impl Send for FragmentLogVerifier
impl Sync for FragmentLogVerifier
impl Unpin for FragmentLogVerifier
impl !UnwindSafe for FragmentLogVerifier
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request