#[non_exhaustive]pub enum PublishErrorKind {
Line,
StartBeforeNow {
name: String,
start: String,
now: String,
},
Backfill(String),
OwnedVectorName(String),
TestsMissing(String),
TestsFailing(String),
}Expand description
Why a line (or the file, at line 0) was refused.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Line
Any other refusal: PublishError::detail says what.
StartBeforeNow
A binding’s start is earlier than the mesh clock (rule A).
Fields
Backfill(String)
A --backfill run that would write over a binding, or under a namespace with one.
OwnedVectorName(String)
import-vectors: a name the vectors would bind is under a namespace the mesh owns.
TestsMissing(String)
The public rule (D8, Build 2 Part 3, publish_stored_checked): a computed function’s tests
do not cover the derived cases or every branch. The text lists what is missing.
TestsFailing(String)
The public rule: a test of a computed function fails. The text names the case and the numbers.
Trait Implementations§
Source§impl Clone for PublishErrorKind
impl Clone for PublishErrorKind
Source§impl Debug for PublishErrorKind
impl Debug for PublishErrorKind
Source§impl Display for PublishErrorKind
impl Display for PublishErrorKind
impl Eq for PublishErrorKind
Source§impl PartialEq for PublishErrorKind
impl PartialEq for PublishErrorKind
impl StructuralPartialEq for PublishErrorKind
Auto Trait Implementations§
impl Forget for PublishErrorKind
impl Freeze for PublishErrorKind
impl Move for PublishErrorKind
impl RefUnwindSafe for PublishErrorKind
impl Send for PublishErrorKind
impl Sync for PublishErrorKind
impl Unpin for PublishErrorKind
impl UnsafeUnpin for PublishErrorKind
impl UnwindSafe for PublishErrorKind
Blanket Implementations§
impl<T> Allocation for T
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<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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.