Struct amfnbatchlib::batch::elem_batch_result::ElemBatchResult [−]
The batch result element.
Implementations
impl ElemBatchResult
The batch result element implementation.
pub fn new(
batches_param: usize,
successes_param: usize,
failures_param: usize
) -> ElemBatchResult
batches_param: usize,
successes_param: usize,
failures_param: usize
) -> ElemBatchResult
Create a new object.
Arguments
batches_param- Number of batches processed.successes_param- Number of processed successes.failures_param- Number of processed failures.
Return
- See description.
pub fn batches(&self) -> usize
pub fn successes(&self) -> usize
pub fn failures(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ElemBatchResult
impl Send for ElemBatchResult
impl Sync for ElemBatchResult
impl Unpin for ElemBatchResult
impl UnwindSafe for ElemBatchResult
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,