Struct jormungandr_automation::jcli::FragmentCheck
source · pub struct FragmentCheck<'a> {
jcli: JCli,
id: FragmentId,
jormungandr: &'a JormungandrProcess,
summary: FragmentsProcessingSummary,
}
Fields§
§jcli: JCli
§id: FragmentId
§jormungandr: &'a JormungandrProcess
§summary: FragmentsProcessingSummary
Implementations§
source§impl<'a> FragmentCheck<'a>
impl<'a> FragmentCheck<'a>
pub fn new( jcli: JCli, jormungandr: &'a JormungandrProcess, id: FragmentId, summary: FragmentsProcessingSummary ) -> Self
pub fn fragment_id(&self) -> FragmentId
pub fn assert_in_block(&self) -> FragmentId
pub fn assert_in_block_with_wait(&self, wait: &Wait) -> FragmentId
pub fn assert_rejected(&self, expected_reason: &str)
pub fn wait_until_processed(&self, wait: &Wait) -> Result<FragmentId, Error>
fn assert_log_shows_in_block(&self) -> FragmentId
pub fn assert_log_shows_rejected(&self, expected_msg: &str)
pub fn assert_rejected_summary(&self)
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FragmentCheck<'a>
impl<'a> !Send for FragmentCheck<'a>
impl<'a> !Sync for FragmentCheck<'a>
impl<'a> Unpin for FragmentCheck<'a>
impl<'a> !UnwindSafe for FragmentCheck<'a>
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