#[non_exhaustive]pub enum ExportProblem {
}Expand description
What is wrong with an export, compared with the library it came from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NotAnExport(String)
The folder holds no export that this version reads, for the reason given.
OtherSpace(SpaceId)
The export is of a space that the library does not have.
WrongSum(String)
A file that SHA256SUMS lists is missing, or its sum differs.
Unlisted(String)
A file of the export that SHA256SUMS does not list.
MissingEntity(EntityId)
An entity that the space held at the export’s moment, which the export lacks.
ExtraEntity(EntityId)
An entity of the export that the space did not hold at its moment.
DifferentEntity(EntityId)
An entity whose line differs from what the space held at the export’s moment.
DifferentChanges
The list of changes, changes.jsonl, which differs from the changes that the lines
should name, or which is missing from a full export or found in one of current values.
MissingFile(Hash)
A file that the space holds and the export should, but does not.
DifferentFile(Hash)
A file of the export whose content does not have the hash it is named by.
DamagedLine(usize)
A line of entities.jsonl, by its number from 1, that is no entity.
ExtraFile(String)
A file in files/ that no value of the space referred to at the export’s moment.
WrongManifest(String)
A count of the manifest, entities or files, that is not what the export holds.
Trait Implementations§
Source§impl Clone for ExportProblem
impl Clone for ExportProblem
Source§impl Debug for ExportProblem
impl Debug for ExportProblem
impl Eq for ExportProblem
Source§impl PartialEq for ExportProblem
impl PartialEq for ExportProblem
impl StructuralPartialEq for ExportProblem
Auto Trait Implementations§
impl Forget for ExportProblem
impl Freeze for ExportProblem
impl Move for ExportProblem
impl RefUnwindSafe for ExportProblem
impl Send for ExportProblem
impl Sync for ExportProblem
impl Unpin for ExportProblem
impl UnsafeUnpin for ExportProblem
impl UnwindSafe for ExportProblem
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
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
key and return true if they are equal.