#[non_exhaustive]pub enum CollectionManifestError {
InvalidText {
field: &'static str,
max: usize,
},
InvalidIdentifier {
field: &'static str,
},
TooManyRows {
field: &'static str,
found: usize,
max: usize,
},
EmptyRows {
field: &'static str,
},
TooManyMembers {
found: usize,
max: usize,
},
TooMuchWork {
found: usize,
max: usize,
},
Duplicate {
field: &'static str,
value: String,
},
DanglingSource {
clip_id: String,
source_key: String,
},
DanglingMember {
set_id: String,
member: String,
},
TooFewMembers {
set_id: String,
found: usize,
},
OutsideCollectionNamespace {
field: &'static str,
value: String,
collection_id: String,
},
InvalidDigest,
}Expand description
A V1 collection manifest was malformed or exceeded a frozen bound.
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.
InvalidText
A required text field was empty or exceeded its byte bound.
InvalidIdentifier
An identifier did not satisfy the V1 lowercase ASCII grammar.
TooManyRows
A bounded row collection exceeded its limit.
Fields
EmptyRows
A required source or clip array was empty.
TooManyMembers
Aggregate member work exceeded its V1 limit.
TooMuchWork
Aggregate declaration work exceeded its V1 limit.
Duplicate
A source key, clip id, set id, binding, or member was repeated.
DanglingSource
A clip named an undeclared source key.
DanglingMember
A runtime set named an undeclared logical clip id.
TooFewMembers
A runtime set did not contain at least two distinct members.
OutsideCollectionNamespace
A clip or runtime-set id escaped the declared collection namespace.
Fields
InvalidDigest
A digest pin was not exactly 64 lowercase hexadecimal characters.
Trait Implementations§
Source§impl Clone for CollectionManifestError
impl Clone for CollectionManifestError
Source§fn clone(&self) -> CollectionManifestError
fn clone(&self) -> CollectionManifestError
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 moreSource§impl Debug for CollectionManifestError
impl Debug for CollectionManifestError
Source§impl Display for CollectionManifestError
impl Display for CollectionManifestError
impl Eq for CollectionManifestError
Source§impl Error for CollectionManifestError
impl Error for CollectionManifestError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for CollectionManifestError
impl PartialEq for CollectionManifestError
impl StructuralPartialEq for CollectionManifestError
Auto Trait Implementations§
impl Freeze for CollectionManifestError
impl RefUnwindSafe for CollectionManifestError
impl Send for CollectionManifestError
impl Sync for CollectionManifestError
impl Unpin for CollectionManifestError
impl UnsafeUnpin for CollectionManifestError
impl UnwindSafe for CollectionManifestError
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