pub struct Loaded {
pub corpus: Corpus,
pub graph: Graph,
}Expand description
A remote repository read from disk: its corpus and graph.
Fields§
§corpus: Corpus§graph: GraphAuto Trait Implementations§
impl Forget for Loaded
impl Freeze for Loadedwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<OwnerKind>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const LeafNode<String, ExternalRoot> is !null: Freeze,
PhantomData<Box<(String, ExternalRoot)>>: Freeze,
*const LeafNode<String, RemoteRoot> is !null: Freeze,
PhantomData<Box<(String, RemoteRoot)>>: Freeze,
*const LeafNode<String, TypeOverride> is !null: Freeze,
PhantomData<Box<(String, TypeOverride)>>: Freeze,
PhantomData<GuardDef>: Freeze,
PhantomData<PluginDef>: Freeze,
PhantomData<CheckOverride>: Freeze,
PhantomData<AssetRoot>: Freeze,
*const LeafNode<String, BudgetLimit> is !null: Freeze,
PhantomData<Box<(String, BudgetLimit)>>: Freeze,
PhantomData<TypeDef>: Freeze,
*const ArcInner<TrackedSet> is !null: Freeze,
PhantomData<ArcInner<TrackedSet>>: Freeze,
PhantomData<Owner>: Freeze,
PhantomData<PathMatch>: Freeze,
PhantomData<SpecRoot>: Freeze,
PhantomData<Doc>: Freeze,
PhantomData<Stray>: Freeze,
*const LeafNode<String, Vec<String>> is !null: Freeze,
PhantomData<Box<(String, Vec<String>)>>: Freeze,
PhantomData<(String, usize)>: Freeze,
PhantomData<(String, Vec<usize>)>: Freeze,
PhantomData<HashSet<String>>: Freeze,
PhantomData<Edge>: Freeze,
PhantomData<Vec<usize>>: Freeze,
impl Move for Loaded
impl RefUnwindSafe for Loadedwhere
Atomic<usize>: RefUnwindSafe,
Pool<Cache, Box<dyn Fn() -> Cache + Sync + Send + UnwindSafe + RefUnwindSafe>>: RefUnwindSafe,
impl Send for Loadedwhere
RawVecInner: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, String, ExternalRoot, LeafOrInternal>: Send,
BoxRaw<(String, ExternalRoot)>: Send,
NodeRef<Owned, String, RemoteRoot, LeafOrInternal>: Send,
BoxRaw<(String, RemoteRoot)>: Send,
NodeRef<Owned, String, TypeOverride, LeafOrInternal>: Send,
BoxRaw<(String, TypeOverride)>: Send,
NodeRef<Owned, String, BudgetLimit, LeafOrInternal>: Send,
BoxRaw<(String, BudgetLimit)>: Send,
NodeRef<Owned, String, Vec<String>, LeafOrInternal>: Send,
BoxRaw<(String, Vec<String>)>: Send,
NodeRef<Owned, String, FieldKind, LeafOrInternal>: Send,
BoxRaw<(String, FieldKind)>: Send,
Arc<TrackedSet>: Send,
Arc<RegexI>: Send,
BoxRaw<Pool<Cache, Box<dyn Fn() -> Cache + Sync + Send + UnwindSafe + RefUnwindSafe>>>: Send,
RawTable<usize>: Send,
RawTable<(String, usize)>: Send,
RawTable<(String, Vec<usize>)>: Send,
RawTable<(String, ())>: Send,
impl Sync for Loadedwhere
RawVecInner: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, String, ExternalRoot, LeafOrInternal>: Sync,
BoxRaw<(String, ExternalRoot)>: Sync,
NodeRef<Owned, String, RemoteRoot, LeafOrInternal>: Sync,
BoxRaw<(String, RemoteRoot)>: Sync,
NodeRef<Owned, String, TypeOverride, LeafOrInternal>: Sync,
BoxRaw<(String, TypeOverride)>: Sync,
NodeRef<Owned, String, BudgetLimit, LeafOrInternal>: Sync,
BoxRaw<(String, BudgetLimit)>: Sync,
NodeRef<Owned, String, Vec<String>, LeafOrInternal>: Sync,
BoxRaw<(String, Vec<String>)>: Sync,
NodeRef<Owned, String, FieldKind, LeafOrInternal>: Sync,
BoxRaw<(String, FieldKind)>: Sync,
Arc<TrackedSet>: Sync,
Arc<RegexI>: Sync,
BoxRaw<Pool<Cache, Box<dyn Fn() -> Cache + Sync + Send + UnwindSafe + RefUnwindSafe>>>: Sync,
RawTable<usize>: Sync,
RawTable<(String, usize)>: Sync,
RawTable<(String, Vec<usize>)>: Sync,
RawTable<(String, ())>: Sync,
impl Unpin for Loadedwhere
*const u8 is !null: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<String, ExternalRoot> is !null: Unpin,
Box<(String, ExternalRoot)>: Unpin,
*const LeafNode<String, RemoteRoot> is !null: Unpin,
Box<(String, RemoteRoot)>: Unpin,
*const LeafNode<String, TypeOverride> is !null: Unpin,
Box<(String, TypeOverride)>: Unpin,
*const LeafNode<String, BudgetLimit> is !null: Unpin,
Box<(String, BudgetLimit)>: Unpin,
*const LeafNode<String, Vec<String>> is !null: Unpin,
Box<(String, Vec<String>)>: Unpin,
*const LeafNode<String, FieldKind> is !null: Unpin,
Box<(String, FieldKind)>: Unpin,
Arc<TrackedSet>: Unpin,
Arc<RegexI>: Unpin,
Box<Pool<Cache, Box<dyn Fn() -> Cache + Sync + Send + UnwindSafe + RefUnwindSafe>>>: Unpin,
impl UnsafeUnpin for Loadedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<OwnerKind>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<String, ExternalRoot> is !null: UnsafeUnpin,
PhantomData<Box<(String, ExternalRoot)>>: UnsafeUnpin,
*const LeafNode<String, RemoteRoot> is !null: UnsafeUnpin,
PhantomData<Box<(String, RemoteRoot)>>: UnsafeUnpin,
*const LeafNode<String, TypeOverride> is !null: UnsafeUnpin,
PhantomData<Box<(String, TypeOverride)>>: UnsafeUnpin,
PhantomData<GuardDef>: UnsafeUnpin,
PhantomData<PluginDef>: UnsafeUnpin,
PhantomData<CheckOverride>: UnsafeUnpin,
PhantomData<AssetRoot>: UnsafeUnpin,
*const LeafNode<String, BudgetLimit> is !null: UnsafeUnpin,
PhantomData<Box<(String, BudgetLimit)>>: UnsafeUnpin,
PhantomData<TypeDef>: UnsafeUnpin,
*const ArcInner<TrackedSet> is !null: UnsafeUnpin,
PhantomData<ArcInner<TrackedSet>>: UnsafeUnpin,
PhantomData<Owner>: UnsafeUnpin,
PhantomData<PathMatch>: UnsafeUnpin,
PhantomData<SpecRoot>: UnsafeUnpin,
PhantomData<Doc>: UnsafeUnpin,
PhantomData<Stray>: UnsafeUnpin,
*const LeafNode<String, Vec<String>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Vec<String>)>>: UnsafeUnpin,
PhantomData<(String, usize)>: UnsafeUnpin,
PhantomData<(String, Vec<usize>)>: UnsafeUnpin,
PhantomData<HashSet<String>>: UnsafeUnpin,
PhantomData<Edge>: UnsafeUnpin,
PhantomData<Vec<usize>>: UnsafeUnpin,
impl UnwindSafe for Loadedwhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, ExternalRoot>: UnwindSafe,
BTreeMap<String, RemoteRoot>: UnwindSafe,
BTreeMap<String, TypeOverride>: UnwindSafe,
BTreeMap<String, BudgetLimit>: UnwindSafe,
BTreeMap<String, Vec<String>>: UnwindSafe,
BTreeMap<String, FieldKind>: UnwindSafe,
Arc<TrackedSet>: UnwindSafe,
Arc<RegexI>: UnwindSafe,
BoxRaw<Pool<Cache, Box<dyn Fn() -> Cache + Sync + Send + UnwindSafe + RefUnwindSafe>>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
HashMap<String, usize>: UnwindSafe,
HashMap<String, Vec<usize>>: 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
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> ⓘ
Converts
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> ⓘ
Converts
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