#[non_exhaustive]pub struct CallerErasure {
pub partitions: u64,
pub rows: u64,
}Expand description
What an erase_caller run removed (spec §13.4: agents SHOULD provide
mechanisms for users to request deletion of their data).
Every tenant-aware store has erase_caller(caller), which removes every
partition of that caller, in every tenant: its tasks, their logged events
and its idempotency keys in a task store, its webhooks in a push-config
store. caller is the identity the authenticating interceptor set
(CallContext::caller_identity,
built by caller_id). Records a caller left in the tenant’s shared
partition, before caller isolation or under share_tasks_across_callers,
are not attributed to anyone and are not touched; audit records are
erased with AuditLog::erase_subject.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.partitions: u64Caller partitions removed, one per tenant the caller had records in.
rows: u64Rows removed: tasks, logged events and idempotency keys in a task store, configs in a push-config store.
Trait Implementations§
Source§impl Clone for CallerErasure
impl Clone for CallerErasure
Source§fn clone(&self) -> CallerErasure
fn clone(&self) -> CallerErasure
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CallerErasure
Source§impl Debug for CallerErasure
impl Debug for CallerErasure
Source§impl Default for CallerErasure
impl Default for CallerErasure
Source§fn default() -> CallerErasure
fn default() -> CallerErasure
impl Eq for CallerErasure
Source§impl PartialEq for CallerErasure
impl PartialEq for CallerErasure
impl StructuralPartialEq for CallerErasure
Auto Trait Implementations§
impl Forget for CallerErasure
impl Freeze for CallerErasure
impl Move for CallerErasure
impl RefUnwindSafe for CallerErasure
impl Send for CallerErasure
impl Sync for CallerErasure
impl Unpin for CallerErasure
impl UnsafeUnpin for CallerErasure
impl UnwindSafe for CallerErasure
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
§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
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> ⓘ
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> ⓘ
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 more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].