pub struct Records { /* private fields */ }Implementations§
Source§impl Records
impl Records
pub const MAX_RECORDS: usize = 256
pub const MAX_BYTES: usize
pub fn push<R>(&mut self, record: R) -> Result<(), PreparationError>where
R: Record,
pub fn push_system(&mut self, fact: SystemFact) -> Result<(), PreparationError>
pub fn collect<S, T>(
transaction: &T,
state: &S,
) -> Result<(Prepared, Vec<(Option<SystemFact>, Prepared)>), PreparationError>where
T: Transaction<S> + CatalogCodec,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Records
impl RefUnwindSafe for Records
impl Send for Records
impl Sync for Records
impl Unpin for Records
impl UnsafeUnpin for Records
impl UnwindSafe for Records
Blanket Implementations§
impl<T> Allocation for T
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