pub struct BackendAuthorityPair { /* private fields */ }Expand description
The immutable WAL/data authority pair copied into an index catalog record.
Implementations§
Source§impl BackendAuthorityPair
impl BackendAuthorityPair
pub const fn new(wal: BackendAuthorityId, data: BackendAuthorityId) -> Self
pub fn wal(&self) -> &BackendAuthorityId
pub fn data(&self) -> &BackendAuthorityId
Trait Implementations§
Source§impl Clone for BackendAuthorityPair
impl Clone for BackendAuthorityPair
Source§impl Debug for BackendAuthorityPair
impl Debug for BackendAuthorityPair
Source§impl<'de> Deserialize<'de> for BackendAuthorityPair
impl<'de> Deserialize<'de> for BackendAuthorityPair
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BackendAuthorityPair
Source§impl PartialEq for BackendAuthorityPair
impl PartialEq for BackendAuthorityPair
Source§impl Serialize for BackendAuthorityPair
impl Serialize for BackendAuthorityPair
impl StructuralPartialEq for BackendAuthorityPair
Auto Trait Implementations§
impl Freeze for BackendAuthorityPair
impl RefUnwindSafe for BackendAuthorityPair
impl Send for BackendAuthorityPair
impl Sync for BackendAuthorityPair
impl Unpin for BackendAuthorityPair
impl UnsafeUnpin for BackendAuthorityPair
impl UnwindSafe for BackendAuthorityPair
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