pub struct BatchTransaction {
pub frames: Vec<Frame>,
pub size: usize,
}
Expand description
BatchTransaction is a set of Frames that can be Into::into Bytes. if the size exceeds the desired threshold.
Fields§
§frames: Vec<Frame>
The frames in the batch.
size: usize
The size of the potential transaction.
Implementations§
Trait Implementations§
Source§impl Clone for BatchTransaction
impl Clone for BatchTransaction
Source§fn clone(&self) -> BatchTransaction
fn clone(&self) -> BatchTransaction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BatchTransaction
impl RefUnwindSafe for BatchTransaction
impl Send for BatchTransaction
impl Sync for BatchTransaction
impl Unpin for BatchTransaction
impl UnwindSafe for BatchTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)