pub struct MemExportResult {
pub archive_path: String,
pub name: String,
pub version: String,
pub entity_count: usize,
pub size_bytes: u64,
pub dangling_cross_mem_edges: Vec<DanglingCrossMemEdge>,
pub redactions: Vec<RedactionCount>,
pub unterminated_fence_entities: Vec<String>,
}Expand description
Result of a .mem mem-archive export.
Fields§
§archive_path: String§name: String§version: String§entity_count: usize§size_bytes: u64§dangling_cross_mem_edges: Vec<DanglingCrossMemEdge>Cross-mem edges in the exported slice whose target won’t travel
inside this single-mem archive — install will reject the
archive for each one. Surfaced at export time
(DANGLING_CROSS_MEM_EDGE_IN_EXPORT) so the operator sees the
install-time failure before sharing. Empty for a self-contained
export.
redactions: Vec<RedactionCount>Private-pattern spans redacted in the archive’s authoring
provenance, counted per class (ops::redaction); empty when no
rationale carried one.
unterminated_fence_entities: Vec<String>Ids in the exported slice whose stored body ends inside an
unterminated code fence. install refuses the archive for each one
(the repack would bury the sections that fence absorbed), so the
condition is surfaced here for the same reason the dangling edges
above are: the operator should see the install-time failure before
sharing, not after. One predicate, two postures.
Trait Implementations§
Source§impl Clone for MemExportResult
impl Clone for MemExportResult
Source§fn clone(&self) -> MemExportResult
fn clone(&self) -> MemExportResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MemExportResult
impl Debug for MemExportResult
Auto Trait Implementations§
impl Freeze for MemExportResult
impl RefUnwindSafe for MemExportResult
impl Send for MemExportResult
impl Sync for MemExportResult
impl Unpin for MemExportResult
impl UnsafeUnpin for MemExportResult
impl UnwindSafe for MemExportResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> Fruit for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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