pub enum ServerConfigType {
Hec,
Api,
}
Expand description
This is just used in get_serverconfig so you can say “I need a HEC or I need an API one!”
Variants§
Hec
You’re using HTTP Event Collector - looks for SPLUNK_HEC_*
Api
You’re using API Endpoints - looks for SPLUNK_API_*
Auto Trait Implementations§
impl Freeze for ServerConfigType
impl RefUnwindSafe for ServerConfigType
impl Send for ServerConfigType
impl Sync for ServerConfigType
impl Unpin for ServerConfigType
impl UnwindSafe for ServerConfigType
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