[−][src]Struct simplelock::LockConfig
Implementations
impl LockConfig
[src]
pub fn is_hang_lock(&self) -> bool
[src]
pub fn is_silent_fail(&self) -> bool
[src]
pub fn set_silent_fail(&mut self, silent_fail: bool)
[src]
Override the current setting for unlock behaviour.
pub fn set_hang_lock(&mut self, hang_lock: bool)
[src]
pub fn with_silent_fail(self, silent_fail: bool) -> Self
[src]
pub fn with_hang_lock(self, hang_lock: bool) -> Self
[src]
Trait Implementations
impl Clone for LockConfig
[src]
fn clone(&self) -> LockConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LockConfig
[src]
impl Debug for LockConfig
[src]
impl Default for LockConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for LockConfig
impl Send for LockConfig
impl Sync for LockConfig
impl Unpin for LockConfig
impl UnwindSafe for LockConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,