Enum kanidmd_lib::repl::proto::ReplIncrementalContext
source · pub enum ReplIncrementalContext {
DomainMismatch,
NoChangesAvailable,
RefreshRequired,
UnwillingToSupply,
V1 {
domain_version: DomainVersion,
domain_patch_level: u32,
domain_uuid: Uuid,
ranges: BTreeMap<Uuid, ReplAnchoredCidRange>,
schema_entries: Vec<ReplIncrementalEntryV1>,
meta_entries: Vec<ReplIncrementalEntryV1>,
entries: Vec<ReplIncrementalEntryV1>,
},
}
Variants§
DomainMismatch
NoChangesAvailable
RefreshRequired
UnwillingToSupply
V1
Fields
§
domain_version: DomainVersion
§
ranges: BTreeMap<Uuid, ReplAnchoredCidRange>
§
schema_entries: Vec<ReplIncrementalEntryV1>
§
meta_entries: Vec<ReplIncrementalEntryV1>
§
entries: Vec<ReplIncrementalEntryV1>
Trait Implementations§
source§impl Debug for ReplIncrementalContext
impl Debug for ReplIncrementalContext
source§impl<'de> Deserialize<'de> for ReplIncrementalContext
impl<'de> Deserialize<'de> for ReplIncrementalContext
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
source§impl PartialEq for ReplIncrementalContext
impl PartialEq for ReplIncrementalContext
source§impl Serialize for ReplIncrementalContext
impl Serialize for ReplIncrementalContext
impl Eq for ReplIncrementalContext
impl StructuralPartialEq for ReplIncrementalContext
Auto Trait Implementations§
impl Freeze for ReplIncrementalContext
impl RefUnwindSafe for ReplIncrementalContext
impl Send for ReplIncrementalContext
impl Sync for ReplIncrementalContext
impl Unpin for ReplIncrementalContext
impl UnwindSafe for ReplIncrementalContext
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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
Compare self to
key
and return true
if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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>
Wrap the input message
T
in a tonic::Request