#[non_exhaustive]pub enum DistSourceFormat {
Dss,
BmopfJson,
PmdJson,
}Expand description
Where the network came from; fixes the echo tier target.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl DistSourceFormat
impl DistSourceFormat
Sourcepub fn name(self) -> &'static str
pub fn name(self) -> &'static str
The canonical format name (dss, pmd-json, bmopf-json), accepted
back by crate::dist_target_from_name.
Trait Implementations§
Source§impl Clone for DistSourceFormat
impl Clone for DistSourceFormat
Source§fn clone(&self) -> DistSourceFormat
fn clone(&self) -> DistSourceFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DistSourceFormat
impl Debug for DistSourceFormat
Source§impl<'de> Deserialize<'de> for DistSourceFormat
impl<'de> Deserialize<'de> for DistSourceFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DistSourceFormat
impl PartialEq for DistSourceFormat
Source§impl Serialize for DistSourceFormat
impl Serialize for DistSourceFormat
impl Copy for DistSourceFormat
impl Eq for DistSourceFormat
impl StructuralPartialEq for DistSourceFormat
Auto Trait Implementations§
impl Freeze for DistSourceFormat
impl RefUnwindSafe for DistSourceFormat
impl Send for DistSourceFormat
impl Sync for DistSourceFormat
impl Unpin for DistSourceFormat
impl UnsafeUnpin for DistSourceFormat
impl UnwindSafe for DistSourceFormat
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