pub enum RejectReason {
Empty,
TooShort,
Credential,
VolatileJunk,
}Expand description
Why a candidate memory was rejected at write time.
Variants§
Empty
Empty or whitespace-only content.
TooShort
Below the minimum durable-fact length; almost certainly a fragment or a status ping, not something worth persisting cross-session.
Credential
Matched a credential/secret heuristic (keyword-adjacent, PEM block, JWT shape, or a long high-entropy opaque token).
VolatileJunk
Matched a known volatile/ephemeral phrase (loading states, generic acknowledgements, bare timestamps) that carries no durable meaning.
Trait Implementations§
Source§impl Clone for RejectReason
impl Clone for RejectReason
impl Copy for RejectReason
Source§impl Debug for RejectReason
impl Debug for RejectReason
Source§impl<'de> Deserialize<'de> for RejectReason
impl<'de> Deserialize<'de> for RejectReason
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 RejectReason
Source§impl From<RejectReason> for WriteRejection
impl From<RejectReason> for WriteRejection
Source§fn from(detail: RejectReason) -> Self
fn from(detail: RejectReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RejectReason
impl PartialEq for RejectReason
Source§impl Serialize for RejectReason
impl Serialize for RejectReason
impl StructuralPartialEq for RejectReason
Auto Trait Implementations§
impl Forget for RejectReason
impl Freeze for RejectReason
impl Move for RejectReason
impl RefUnwindSafe for RejectReason
impl Send for RejectReason
impl Sync for RejectReason
impl Unpin for RejectReason
impl UnsafeUnpin for RejectReason
impl UnwindSafe for RejectReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 more