pub enum TopologyPackageSource {
HostFile {
path: PathBuf,
},
TableEntry {
table: Value,
key: Symbol,
},
}Expand description
Reloadable source descriptor for topology package text.
Variants§
HostFile
Compatibility host-file source for topology/load-file.
TableEntry
Source text read from a runtime table entry.
Implementations§
Trait Implementations§
Source§impl Clone for TopologyPackageSource
impl Clone for TopologyPackageSource
Source§fn clone(&self) -> TopologyPackageSource
fn clone(&self) -> TopologyPackageSource
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TopologyPackageSource
impl !UnwindSafe for TopologyPackageSource
impl Freeze for TopologyPackageSource
impl Send for TopologyPackageSource
impl Sync for TopologyPackageSource
impl Unpin for TopologyPackageSource
impl UnsafeUnpin for TopologyPackageSource
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