pub struct FileLockMonitoring {}Trait Implementations§
Source§impl Debug for FileLockMonitoring
impl Debug for FileLockMonitoring
Source§impl Monitoring for FileLockMonitoring
impl Monitoring for FileLockMonitoring
Source§impl MonitoringBuilder<FileLockMonitoring> for Builder
impl MonitoringBuilder<FileLockMonitoring> for Builder
Source§fn token(
self,
) -> Result<<FileLockMonitoring as Monitoring>::Token, MonitoringCreateTokenError>
fn token( self, ) -> Result<<FileLockMonitoring as Monitoring>::Token, MonitoringCreateTokenError>
Creates a new
MonitoringToken on success or returns a MonitoringCreateTokenError
on failure.Source§fn monitor(
self,
) -> Result<<FileLockMonitoring as Monitoring>::Monitor, MonitoringCreateMonitorError>
fn monitor( self, ) -> Result<<FileLockMonitoring as Monitoring>::Monitor, MonitoringCreateMonitorError>
Instantiates a
MonitoringMonitor to monitor a MonitoringTokenSource§fn cleaner(
self,
) -> Result<<FileLockMonitoring as Monitoring>::Cleaner, MonitoringCreateCleanerError>
fn cleaner( self, ) -> Result<<FileLockMonitoring 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<FileLockMonitoring> for Builder
impl NamedConceptBuilder<FileLockMonitoring> 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: &<FileLockMonitoring as NamedConceptMgmt>::Configuration,
) -> Self
fn config( self, config: &<FileLockMonitoring as NamedConceptMgmt>::Configuration, ) -> Self
Sets the custom configuration of the concept.
Source§impl NamedConceptMgmt for FileLockMonitoring
impl NamedConceptMgmt for FileLockMonitoring
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 FileLockMonitoring
impl RefUnwindSafe for FileLockMonitoring
impl Send for FileLockMonitoring
impl Sync for FileLockMonitoring
impl Unpin for FileLockMonitoring
impl UnsafeUnpin for FileLockMonitoring
impl UnwindSafe for FileLockMonitoring
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