pub enum BrokenReason {
Deleted,
Revoked,
}Expand description
Reason a cross-context file row is tombstoned. Written by the refresh
endpoint based on the source’s response. Tombstones are sticky, so this
is reserved for permanent / authoritative source signals — transient
network failures DO NOT mutate the row (the handler surfaces them
out-of-band via refreshStatus in the response wrapper).
Variants§
Deleted
Source returned 404 / 410: the row is gone upstream.
Revoked
Source returned 403: the caller’s grant on the source has been revoked.
Implementations§
Trait Implementations§
Source§impl Clone for BrokenReason
impl Clone for BrokenReason
Source§fn clone(&self) -> BrokenReason
fn clone(&self) -> BrokenReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BrokenReason
Source§impl Debug for BrokenReason
impl Debug for BrokenReason
Source§impl<'de> Deserialize<'de> for BrokenReason
impl<'de> Deserialize<'de> for BrokenReason
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
impl Eq for BrokenReason
Source§impl PartialEq for BrokenReason
impl PartialEq for BrokenReason
Source§fn eq(&self, other: &BrokenReason) -> bool
fn eq(&self, other: &BrokenReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BrokenReason
impl Serialize for BrokenReason
impl StructuralPartialEq for BrokenReason
Auto Trait Implementations§
impl Freeze for BrokenReason
impl RefUnwindSafe for BrokenReason
impl Send for BrokenReason
impl Sync for BrokenReason
impl Unpin for BrokenReason
impl UnsafeUnpin for BrokenReason
impl UnwindSafe for BrokenReason
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