pub(crate) enum ManifestSource {
FromGithub {
channel: String,
github_repo: String,
ref_: String,
manifest_file: String,
},
FromFile {
channel: String,
manifest_file: String,
},
}
Variants§
Implementations§
source§impl ManifestSource
impl ManifestSource
fn manifest_file(&self) -> &str
fn channel(&self) -> &str
fn manifest_loader(&self) -> Result<FileLoader>
pub(crate) fn try_from(params: &NimbusApp, value: &ManifestArgs) -> Result<Self>
Trait Implementations§
source§impl Debug for ManifestSource
impl Debug for ManifestSource
source§impl Display for ManifestSource
impl Display for ManifestSource
source§impl PartialEq for ManifestSource
impl PartialEq for ManifestSource
source§impl TryFrom<&ManifestSource> for FeatureManifest
impl TryFrom<&ManifestSource> for FeatureManifest
impl StructuralPartialEq for ManifestSource
Auto Trait Implementations§
impl Freeze for ManifestSource
impl RefUnwindSafe for ManifestSource
impl Send for ManifestSource
impl Sync for ManifestSource
impl Unpin for ManifestSource
impl UnwindSafe for ManifestSource
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more