Trait redsync::Instance [−][src]
Instance
represents an entity with locking and unlocking capabilities.
Instance
represents an entity with locking and unlocking capabilities.
fn acquire(&self, lock: &Lock) -> Result<(), RedsyncError>
[src]fn extend(&self, lock: &Lock) -> Result<(), RedsyncError>
[src]fn release(&self, lock: &Lock) -> Result<(), RedsyncError>
[src]impl Instance for RedisInstance
[src]