Skip to main content

ProcessLocalMonitoring

Struct ProcessLocalMonitoring 

Source
pub struct ProcessLocalMonitoring {}

Trait Implementations§

Source§

impl Debug for ProcessLocalMonitoring

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Monitoring for ProcessLocalMonitoring

Source§

type Token = Token

Source§

type Monitor = Monitor

Source§

type Cleaner = Cleaner

Source§

type Builder = Builder

Source§

fn default_suffix() -> FileName

Returns the default suffix that shall be used for every MonitoringToken.
Source§

impl MonitoringBuilder<ProcessLocalMonitoring> for Builder

Source§

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>

Instantiates a MonitoringMonitor to monitor a MonitoringToken
Source§

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

Source§

fn new(name: &FileName) -> Self

Defines the name of the newly created NamedConcept.
Source§

fn config( self, config: &<ProcessLocalMonitoring as NamedConceptMgmt>::Configuration, ) -> Self

Sets the custom configuration of the concept.
Source§

impl NamedConceptMgmt for ProcessLocalMonitoring

Source§

type Configuration = Configuration

Source§

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>

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>

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>

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>

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>

Returns true if a concept with that name exists, otherwise false
Source§

fn list() -> Result<Vec<FileName>, NamedConceptListError>

Returns a list of all available concepts with the default configuration.
Source§

fn default_prefix() -> FileName

The default prefix of every zero copy connection
Source§

fn default_path_hint() -> Path

The default path hint for every zero copy connection

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.