pub struct Resolved { /* private fields */ }Expand description
Implementations§
Source§impl Resolved
impl Resolved
pub fn drafts(&self) -> &[Draft]
pub fn skipped(&self) -> &[Skipped]
Sourcepub fn skipped_folders(&self) -> &[String]
pub fn skipped_folders(&self) -> &[String]
Dependency and build folders left out of the read and the scan
(relative paths, SKIP_DIRS).
Sourcepub fn source(&self) -> &ServerSource
pub fn source(&self) -> &ServerSource
Where the drafts come from (file and converter empty).
Sourcepub fn files_scan(&self) -> &ScanReport
pub fn files_scan(&self) -> &ScanReport
The scan of the folder’s files.
Sourcepub fn trust_source(&self) -> Option<&SourceRef>
pub fn trust_source(&self) -> Option<&SourceRef>
The source the trust gate admits with Decisions::trust: the
repository the URL names, or the local folder. None for a
registry entry: each draft carries its own
(Draft::trust_source).
Sourcepub fn moved_source(&self) -> Option<&SourceRef>
pub fn moved_source(&self) -> Option<&SourceRef>
Where the host redirected the repository (another key): gated too,
with Decisions::moved_trust.
Sourcepub fn source_change(&self) -> Option<&SourceChange>
pub fn source_change(&self) -> Option<&SourceChange>
The repository the URL names moved.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Resolved
impl Freeze for Resolvedwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<Draft>: Freeze,
PhantomData<Skipped>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, Vec<u8>> is !null: Freeze,
PhantomData<Box<(String, Vec<u8>)>>: Freeze,
PhantomData<Finding>: Freeze,
impl Move for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolvedwhere
RawVecInner: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Send,
BoxRaw<(String, ServerOverride)>: Send,
NodeRef<Owned, String, Map<String, Value>, LeafOrInternal>: Send,
BoxRaw<(String, Map<String, Value>)>: Send,
NodeRef<Owned, String, Vec<u8>, LeafOrInternal>: Send,
BoxRaw<(String, Vec<u8>)>: Send,
impl Sync for Resolvedwhere
RawVecInner: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Sync,
BoxRaw<(String, ServerOverride)>: Sync,
NodeRef<Owned, String, Map<String, Value>, LeafOrInternal>: Sync,
BoxRaw<(String, Map<String, Value>)>: Sync,
NodeRef<Owned, String, Vec<u8>, LeafOrInternal>: Sync,
BoxRaw<(String, Vec<u8>)>: Sync,
impl Unpin for Resolvedwhere
*const u8 is !null: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<String, ServerOverride> is !null: Unpin,
Box<(String, ServerOverride)>: Unpin,
*const LeafNode<String, Map<String, Value>> is !null: Unpin,
Box<(String, Map<String, Value>)>: Unpin,
*const LeafNode<String, Vec<u8>> is !null: Unpin,
Box<(String, Vec<u8>)>: Unpin,
impl UnsafeUnpin for Resolvedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<Draft>: UnsafeUnpin,
PhantomData<Skipped>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, Vec<u8>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Vec<u8>)>>: UnsafeUnpin,
PhantomData<Finding>: UnsafeUnpin,
impl UnwindSafe for Resolvedwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, ServerOverride>: UnwindSafe,
BTreeMap<String, Map<String, Value>>: UnwindSafe,
BTreeMap<String, Vec<u8>>: UnwindSafe,
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