[−][src]Trait acid_store::store::Open
A resource which can be opened.
Associated Types
type Config
The type of the configuration used to open a resource.
Required methods
fn open(config: Self::Config, options: OpenOption) -> Result<Self> where
Self: Sized,
Self: Sized,
Open this resource using the given config
and open options
.
Errors
Error::NotFound
: The resource does not exist andOpenOption::CREATE
andOpenOption::CREATE_NEW
were not passed.Error::UnsupportedFormat
: The resource exists but is an unsupported format.Error::AlreadyExists
: The resource already exists andOpenOption::CREATE_NEW
was passed.Error::Io
: An I/O error occurred.Error::Store
: An error occurred with the underlying data store.
Implementors
impl Open for DirectoryStore
[src]
type Config = PathBuf
fn open(config: Self::Config, options: OpenOption) -> Result<Self> where
Self: Sized,
[src]
Self: Sized,
impl Open for RedisStore
[src]
type Config = ConnectionInfo
fn open(config: Self::Config, options: OpenOption) -> Result<Self> where
Self: Sized,
[src]
Self: Sized,
impl Open for S3Store
[src]
type Config = Bucket
fn open(config: Self::Config, options: OpenOption) -> Result<Self> where
Self: Sized,
[src]
Self: Sized,