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 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 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
Auto Trait Implementations§
impl Freeze for RegistrySource
impl RefUnwindSafe for RegistrySource
impl Send for RegistrySource
impl Sync for RegistrySource
impl Unpin for RegistrySource
impl UnwindSafe for RegistrySource
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