pub struct ReplicaState {
pub replica_id: i32,
pub replica_epoch: i64,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§replica_id: i32§replica_epoch: i64§unknown_tagged_fields: UnknownTaggedFieldsImplementations§
Source§impl ReplicaState
impl ReplicaState
pub fn to_owned(&self) -> ReplicaState
Trait Implementations§
Source§impl Clone for ReplicaState
impl Clone for ReplicaState
Source§impl Debug for ReplicaState
impl Debug for ReplicaState
Source§impl<'de> DecodeBorrow<'de> for ReplicaState
impl<'de> DecodeBorrow<'de> for ReplicaState
Source§fn decode_borrow(
buf: &mut &'de [u8],
version: i16,
) -> Result<Self, ProtocolError>
fn decode_borrow( buf: &mut &'de [u8], version: i16, ) -> Result<Self, ProtocolError>
Errors Read more
Source§impl Default for ReplicaState
impl Default for ReplicaState
Source§impl Encode for ReplicaState
impl Encode for ReplicaState
impl Eq for ReplicaState
Source§impl PartialEq for ReplicaState
impl PartialEq for ReplicaState
impl StructuralPartialEq for ReplicaState
Auto Trait Implementations§
impl Freeze for ReplicaState
impl RefUnwindSafe for ReplicaState
impl Send for ReplicaState
impl Sync for ReplicaState
impl Unpin for ReplicaState
impl UnsafeUnpin for ReplicaState
impl UnwindSafe for ReplicaState
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