pub struct ProcessLocalMonitoring {}Trait Implementations§
Source§impl Debug for ProcessLocalMonitoring
impl Debug for ProcessLocalMonitoring
Source§impl Monitoring for ProcessLocalMonitoring
impl Monitoring for ProcessLocalMonitoring
Source§impl MonitoringBuilder<ProcessLocalMonitoring> for Builder
impl MonitoringBuilder<ProcessLocalMonitoring> for Builder
Source§fn token(
self,
) -> Result<<ProcessLocalMonitoring as Monitoring>::Token, MonitoringCreateTokenError>
fn token( self, ) -> Result<<ProcessLocalMonitoring as Monitoring>::Token, MonitoringCreateTokenError>
Creates a new
MonitoringToken on success or returns a MonitoringCreateTokenError
on failure.Source§fn monitor(
self,
) -> Result<<ProcessLocalMonitoring as Monitoring>::Monitor, MonitoringCreateMonitorError>
fn monitor( self, ) -> Result<<ProcessLocalMonitoring as Monitoring>::Monitor, MonitoringCreateMonitorError>
Instantiates a
MonitoringMonitor to monitor a MonitoringTokenSource§fn cleaner(
self,
) -> Result<<ProcessLocalMonitoring as Monitoring>::Cleaner, MonitoringCreateCleanerError>
fn cleaner( self, ) -> Result<<ProcessLocalMonitoring as Monitoring>::Cleaner, MonitoringCreateCleanerError>
Instantiates a
MonitoringCleaner. If it could be instantiated successfully the owner is
allowed to remove all stale resources from the former dead process.Source§impl NamedConceptBuilder<ProcessLocalMonitoring> for Builder
impl NamedConceptBuilder<ProcessLocalMonitoring> for Builder
Source§fn new(name: &FileName) -> Self
fn new(name: &FileName) -> Self
Defines the name of the newly created
NamedConcept.Source§fn config(
self,
config: &<ProcessLocalMonitoring as NamedConceptMgmt>::Configuration,
) -> Self
fn config( self, config: &<ProcessLocalMonitoring as NamedConceptMgmt>::Configuration, ) -> Self
Sets the custom configuration of the concept.
Source§impl NamedConceptMgmt for ProcessLocalMonitoring
impl NamedConceptMgmt for ProcessLocalMonitoring
type Configuration = Configuration
Source§fn list_cfg(
cfg: &Self::Configuration,
) -> Result<Vec<FileName>, NamedConceptListError>
fn list_cfg( cfg: &Self::Configuration, ) -> Result<Vec<FileName>, NamedConceptListError>
Returns a list of all available concepts with a custom configuration.
Source§fn does_exist_cfg(
name: &FileName,
cfg: &Self::Configuration,
) -> Result<bool, NamedConceptDoesExistError>
fn does_exist_cfg( name: &FileName, cfg: &Self::Configuration, ) -> Result<bool, NamedConceptDoesExistError>
Returns true if a concept with that name exists under a custom configuration, otherwise false
Source§unsafe fn remove_cfg(
name: &FileName,
cfg: &Self::Configuration,
) -> Result<bool, NamedConceptRemoveError>
unsafe fn remove_cfg( name: &FileName, cfg: &Self::Configuration, ) -> Result<bool, NamedConceptRemoveError>
Removes an existing concept under a custom configuration. Returns true if the concepts
existed and was removed, if the concept did not exist it returns false. Read more
Source§fn remove_path_hint(
_value: &Path,
) -> Result<(), NamedConceptPathHintRemoveError>
fn remove_path_hint( _value: &Path, ) -> Result<(), NamedConceptPathHintRemoveError>
Removes the path hint directory. Will be realized only when the concept actually uses
the path hint.
Source§unsafe fn remove(name: &FileName) -> Result<bool, NamedConceptRemoveError>
unsafe fn remove(name: &FileName) -> Result<bool, NamedConceptRemoveError>
Removes an existing concept. Returns true if the concepts existed and was removed,
if the concept did not exist it returns false. Read more
Source§fn does_exist(name: &FileName) -> Result<bool, NamedConceptDoesExistError>
fn does_exist(name: &FileName) -> Result<bool, NamedConceptDoesExistError>
Returns true if a concept with that name exists, otherwise false
Source§fn list() -> Result<Vec<FileName>, NamedConceptListError>
fn list() -> Result<Vec<FileName>, NamedConceptListError>
Returns a list of all available concepts with the default configuration.
Source§fn default_prefix() -> FileName
fn default_prefix() -> FileName
The default prefix of every zero copy connection
Source§fn default_path_hint() -> Path
fn default_path_hint() -> Path
The default path hint for every zero copy connection
Auto Trait Implementations§
impl Freeze for ProcessLocalMonitoring
impl RefUnwindSafe for ProcessLocalMonitoring
impl Send for ProcessLocalMonitoring
impl Sync for ProcessLocalMonitoring
impl Unpin for ProcessLocalMonitoring
impl UnsafeUnpin for ProcessLocalMonitoring
impl UnwindSafe for ProcessLocalMonitoring
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