pub struct PublicationLease { /* private fields */ }Implementations§
Source§impl PublicationLease
impl PublicationLease
pub fn stream(&self) -> &PluginStream
pub fn publish( &self, payload: Vec<u8>, missed: u64, ) -> Result<(), StreamPublicationError>
pub fn publish_row( &self, row: PublicationRow, missed: u64, ) -> Result<(), StreamPublicationError>
pub fn admit_row( &self, row: PublicationRow, wire_sequence: u64, missed: u64, ) -> Result<ManagedPublication, StreamPublicationError>
pub fn revoke(&self)
pub async fn ingested(&self) -> Result<(), StreamPublicationError>
Trait Implementations§
Source§impl Drop for PublicationLease
impl Drop for PublicationLease
Auto Trait Implementations§
impl !Freeze for PublicationLease
impl RefUnwindSafe for PublicationLease
impl Send for PublicationLease
impl Sync for PublicationLease
impl Unpin for PublicationLease
impl UnsafeUnpin for PublicationLease
impl UnwindSafe for PublicationLease
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