pub struct RejoinRewindConfirmationReply {
pub ok: bool,
pub target_timeline: u64,
pub rewind_to_lsn: u64,
pub next_step: String,
}Fields§
§ok: bool§target_timeline: u64§rewind_to_lsn: u64§next_step: StringImplementations§
Source§impl RejoinRewindConfirmationReply
impl RejoinRewindConfirmationReply
pub fn confirmed(target_timeline: u64, rewind_to_lsn: u64) -> Self
pub fn encode_json(&self) -> Vec<u8> ⓘ
pub fn decode_json(bytes: &[u8]) -> Result<Self, ReplicationPayloadError>
Trait Implementations§
impl Eq for RejoinRewindConfirmationReply
impl StructuralPartialEq for RejoinRewindConfirmationReply
Auto Trait Implementations§
impl Freeze for RejoinRewindConfirmationReply
impl RefUnwindSafe for RejoinRewindConfirmationReply
impl Send for RejoinRewindConfirmationReply
impl Sync for RejoinRewindConfirmationReply
impl Unpin for RejoinRewindConfirmationReply
impl UnsafeUnpin for RejoinRewindConfirmationReply
impl UnwindSafe for RejoinRewindConfirmationReply
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