pub struct PgLsn(pub u64);Tuple Fields§
§0: u64Implementations§
Source§impl PgLsn
impl PgLsn
pub fn to_source_offset(self, database: &str, slot: &str) -> SourceOffset
pub fn from_source_offset( offset: &SourceOffset, expected_slot: &str, ) -> Result<PgLsn, PostgresConnectError>
Trait Implementations§
impl Copy for PgLsn
impl Eq for PgLsn
Source§impl Ord for PgLsn
impl Ord for PgLsn
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PgLsn
impl PartialOrd for PgLsn
impl StructuralPartialEq for PgLsn
Auto Trait Implementations§
impl Freeze for PgLsn
impl RefUnwindSafe for PgLsn
impl Send for PgLsn
impl Sync for PgLsn
impl Unpin for PgLsn
impl UnsafeUnpin for PgLsn
impl UnwindSafe for PgLsn
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