pub enum TupleBuffer {
Vector(Vec<u8>),
TransactionScoped {
ptr: *mut u8,
size: usize,
},
}
Expand description
Buffer containing tuple contents (MsgPack array)
If buffer is allocated within transaction: will be disposed after transaction ended (committed or dropped).
If not: will act as a regular rust Vec<u8>
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TupleBuffer
impl RefUnwindSafe for TupleBuffer
impl !Send for TupleBuffer
impl !Sync for TupleBuffer
impl Unpin for TupleBuffer
impl UnwindSafe for TupleBuffer
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