pub struct CopyRecord {
pub copied_at: i64,
pub position: u64,
pub source: String,
pub vault_key: String,
pub source_kernel_keys: Vec<String>,
}Expand description
The store is a masked copy of another kernel’s stores (a preview): made by kernable copy,
kernable import --mask-vault or kernable restore --mask-vault, with the source’s events
and history but none of its vault values. A kernel runs such a store only alone (no standby,
pair, partition or backup follower), with the vault key the copy made; nothing restores or
replicates it as anything but a copy. The newest record wins.
Fields§
§copied_at: i64ms since epoch
position: u64the last event of the source in the copy
source: Stringwhere it was copied from, for people
vault_key: Stringthe key ID of the copy’s own, new vault key
source_kernel_keys: Vec<String>The kernel keys (key IDs, the public keys in hex) that signed the source’s checkpoints and
revocations, as the copy checked them: kernable verify of the copy accepts them beside the
keys it is given, as the copy’s own kernel signs with a key of its own.
Trait Implementations§
Source§impl Clone for CopyRecord
impl Clone for CopyRecord
Source§impl Debug for CopyRecord
impl Debug for CopyRecord
Source§impl Default for CopyRecord
impl Default for CopyRecord
impl Eq for CopyRecord
Source§impl Hash for CopyRecord
impl Hash for CopyRecord
Source§impl Message for CopyRecord
impl Message for CopyRecord
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for CopyRecord
impl PartialEq for CopyRecord
impl StructuralPartialEq for CopyRecord
Auto Trait Implementations§
impl Forget for CopyRecord
impl Freeze for CopyRecord
impl Move for CopyRecord
impl RefUnwindSafe for CopyRecord
impl Send for CopyRecord
impl Sync for CopyRecord
impl Unpin for CopyRecord
impl UnsafeUnpin for CopyRecord
impl UnwindSafe for CopyRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request