pub struct NetdataJournalFunction<P = SystemdJournalProfile> { /* private fields */ }Implementations§
Source§impl NetdataJournalFunction<SystemdJournalProfile>
impl NetdataJournalFunction<SystemdJournalProfile>
pub fn systemd_journal() -> Self
Source§impl NetdataJournalFunction<SystemdJournalPluginProfile>
impl NetdataJournalFunction<SystemdJournalPluginProfile>
pub fn systemd_journal_plugin_compatible() -> Self
Source§impl<P> NetdataJournalFunction<P>where
P: NetdataFunctionProfile,
impl<P> NetdataJournalFunction<P>where
P: NetdataFunctionProfile,
pub fn new(config: NetdataFunctionConfig, profile: P) -> Self
pub fn run_directory_request_json( &self, directory: &Path, request: &Value, ) -> Result<Value>
pub fn run_directory_request_json_with_options( &self, directory: &Path, request: &Value, options: NetdataFunctionRunOptions<'_>, ) -> Result<Value>
pub fn run_directory_request_bytes( &self, directory: &Path, request: &[u8], ) -> Result<Value>
pub fn run_directory_request_bytes_with_options( &self, directory: &Path, request: &[u8], options: NetdataFunctionRunOptions<'_>, ) -> Result<Value>
Trait Implementations§
Source§impl<P: Clone> Clone for NetdataJournalFunction<P>
impl<P: Clone> Clone for NetdataJournalFunction<P>
Source§fn clone(&self) -> NetdataJournalFunction<P>
fn clone(&self) -> NetdataJournalFunction<P>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<P> Freeze for NetdataJournalFunction<P>where
P: Freeze,
impl<P> RefUnwindSafe for NetdataJournalFunction<P>where
P: RefUnwindSafe,
impl<P> Send for NetdataJournalFunction<P>where
P: Send,
impl<P> Sync for NetdataJournalFunction<P>where
P: Sync,
impl<P> Unpin for NetdataJournalFunction<P>where
P: Unpin,
impl<P> UnsafeUnpin for NetdataJournalFunction<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for NetdataJournalFunction<P>where
P: UnwindSafe,
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