Enum tantivy::directory::error::LockError [−][src]
pub enum LockError {
LockBusy,
IoError(Error),
}
Expand description
Error while trying to acquire a directory lock.
Variants
Failed to acquired a lock as it is already held by another client.
- In the context of a blocking lock, this means the lock was not released within some
timeout
period. - In the context of a non-blocking lock, this means the lock was busy at the moment of the call.
IoError(Error)
Trying to acquire a lock failed with an IoError
Tuple Fields of IoError
0: Error
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for LockError
impl !UnwindSafe for LockError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more