Struct jormungandr_lib::interfaces::fragments_batch::FragmentsBatch
source · pub struct FragmentsBatch {
pub fail_fast: bool,
pub fragments: Vec<Fragment>,
}
Expand description
Submission of a batch of fragments to the node.
Fields§
§fail_fast: bool
Fragments are processed in the sequential order. When this option is enabled, fragments processing will stop upon meeting the first invalid fragment and the rest of fragments would be dropped.
fragments: Vec<Fragment>
Fragments themselves.
Trait Implementations§
source§impl Debug for FragmentsBatch
impl Debug for FragmentsBatch
source§impl<'de> Deserialize<'de> for FragmentsBatch
impl<'de> Deserialize<'de> for FragmentsBatch
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FragmentsBatch
impl Send for FragmentsBatch
impl Sync for FragmentsBatch
impl Unpin for FragmentsBatch
impl UnwindSafe for FragmentsBatch
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