pub struct Records { /* private fields */ }Implementations§
Source§impl Records
impl Records
pub fn publish<A: Stores>( &mut self, session: &mut Session<A>, ) -> Result<Stamp, PublishError>
pub fn publish_at<A: Stores>( &mut self, session: &mut Session<A>, alpha: f32, ) -> Result<Stamp, PublishError>
Sourcepub fn lend(&mut self) -> Option<Publication>
pub fn lend(&mut self) -> Option<Publication>
Until the buffer is released, Self::publish returns PublishError::Borrowed.
pub fn release(&mut self, publication: Publication)
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§
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