pub enum RegistrySource {
String(String),
Http(String),
File(String),
}Expand description
From where to pull the IPFIX definitions
Variants§
String(String)
The registry data is directly encoded here
Http(String)
Pull from an HTTP URL
File(String)
Pull from a file accessible on the local filesystem.
Trait Implementations§
source§impl Clone for RegistrySource
impl Clone for RegistrySource
source§fn clone(&self) -> RegistrySource
fn clone(&self) -> RegistrySource
Returns a copy 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 RegistrySource
impl Debug for RegistrySource
source§impl<'de> Deserialize<'de> for RegistrySource
impl<'de> Deserialize<'de> for RegistrySource
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