Struct thor::FragmentVerifier
source · pub struct FragmentVerifier;
Implementations§
source§impl FragmentVerifier
impl FragmentVerifier
pub fn wait_until_all_processed<A: FragmentNode + ?Sized>( wait: Wait, node: &A ) -> Result<(), FragmentVerifierError>
pub fn wait_and_verify_all_are_in_block<A: FragmentNode + ?Sized>( duration: Duration, checks: Vec<MemPoolCheck>, node: &A ) -> Result<(), FragmentVerifierError>
pub fn wait_and_verify_is_in_block<A: FragmentNode + ?Sized>( duration: Duration, check: MemPoolCheck, node: &A ) -> Result<(), FragmentVerifierError>
pub fn wait_and_verify_is_rejected<A: FragmentNode + ?Sized>( duration: Duration, check: MemPoolCheck, node: &A ) -> Result<(), FragmentVerifierError>
pub fn wait_and_verify_is_rejected_with_message<A: FragmentNode + ?Sized, S: Into<String>>( duration: Duration, check: MemPoolCheck, message: S, node: &A ) -> Result<(), FragmentVerifierError>
pub fn is_in_block<A: FragmentNode + ?Sized>( status: FragmentStatus, node: &A ) -> Result<(), FragmentVerifierError>
pub fn is_rejected<A: FragmentNode + ?Sized>( status: FragmentStatus, node: &A ) -> Result<(), FragmentVerifierError>
pub fn is_rejected_with_message<A: FragmentNode + ?Sized, S: Into<String>>( status: FragmentStatus, expected_part: S, node: &A ) -> Result<(), FragmentVerifierError>
pub fn fragment_status<A: FragmentNode + ?Sized>( check: MemPoolCheck, node: &A ) -> Result<FragmentStatus, FragmentVerifierError>
pub fn wait_fragment<A: FragmentNode + ?Sized>( duration: Duration, check: MemPoolCheck, exit_strategy: ExitStrategy, node: &A ) -> Result<FragmentStatus, FragmentVerifierError>
pub fn wait_for_all_fragments<A: FragmentNode + ?Sized>( duration: Duration, node: &A ) -> Result<HashMap<FragmentId, FragmentLog>, FragmentVerifierError>
Auto Trait Implementations§
impl RefUnwindSafe for FragmentVerifier
impl Send for FragmentVerifier
impl Sync for FragmentVerifier
impl Unpin for FragmentVerifier
impl UnwindSafe for FragmentVerifier
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