pub struct Permit { /* private fields */ }Implementations§
Source§impl Permit
impl Permit
pub fn snapshot_payload(&mut self, payload: Vec<u8>) -> Result<(), Error>
pub fn projected(&self) -> &[StoredRecord]
pub async fn push( &mut self, record: RecordWrite<'_>, limits: ReadLimits, ) -> Result<(), Error>
pub fn encode(&mut self, value: &impl Serialize) -> Result<(), Error>
pub fn commit(self, frontier: Position)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Permit
impl !UnwindSafe for Permit
impl Freeze for Permit
impl Send for Permit
impl Sync for Permit
impl Unpin for Permit
impl UnsafeUnpin for Permit
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