// SetEnv sets the specified object to interact with the environment, // e.g. to read/write files, schedule background work, etc. // Default: DefaultEnv func (opts *Options) SetEnv(value *Env) { opts.env = value C.rocksdb_options_set_env(opts.c, value.c) }
// SetEnv sets the Env object for the new database handle. func (o *Options) SetEnv(env *Env) { C.rocksdb_options_set_env(o.Opt, env.Env) }
// Use the specified object to interact with the environment, // e.g. to read/write files, schedule background work, etc. // Default: DefaultEnv func (self *Options) SetEnv(value *Env) { self.env = value C.rocksdb_options_set_env(self.c, value.c) }