pub enum RecordRejection {
UnsafeId,
UnknownRun,
RegistrationUnreadable,
TokenMismatch,
Stale,
}Expand description
Why a signal POST was rejected. The endpoint maps these to statuses that oracle nothing about neighboring runs.
Variants§
UnsafeId
Mission/run id failed the safe-id check (path traversal).
UnknownRun
No registration exists for this run (unknown, or cleaned up).
RegistrationUnreadable
A registration exists but is unreadable/corrupt — treated as unknown (the run’s lane is broken, not the request’s problem).
TokenMismatch
The presented token does not match the registration’s hash.
Stale
The registration is older than REGISTRATION_TTL.
Trait Implementations§
Source§impl Clone for RecordRejection
impl Clone for RecordRejection
Source§fn clone(&self) -> RecordRejection
fn clone(&self) -> RecordRejection
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 RecordRejection
Source§impl Debug for RecordRejection
impl Debug for RecordRejection
impl Eq for RecordRejection
Source§impl PartialEq for RecordRejection
impl PartialEq for RecordRejection
impl StructuralPartialEq for RecordRejection
Auto Trait Implementations§
impl Freeze for RecordRejection
impl RefUnwindSafe for RecordRejection
impl Send for RecordRejection
impl Sync for RecordRejection
impl Unpin for RecordRejection
impl UnsafeUnpin for RecordRejection
impl UnwindSafe for RecordRejection
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