[−][src]Struct foundationdb::api::FdbApiBuilder
A Builder with which different versions of the Fdb C API can be initialized
The foundationDB C API can only be initialized once.
foundationdb::api::FdbApiBuilder::default().build().expect("fdb api initialized");
Implementations
impl FdbApiBuilder
[src]
pub fn runtime_version(&self) -> i32
[src]
The version of run-time behavior the API is requested to provide.
pub fn set_runtime_version(self, version: i32) -> Self
[src]
Set the version of run-time behavior the API is requested to provide.
Must be less than or equal to header_version, foundationdb_sys::FDB_API_VERSION
, and should almost always be equal.
Language bindings which themselves expose API versioning will usually pass the version requested by the application.
pub fn build(self) -> FdbResult<NetworkBuilder>
[src]
Initialize the foundationDB API and returns a NetworkBuilder
Panics
This function will panic if called more than once
Trait Implementations
impl Default for FdbApiBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for FdbApiBuilder
impl Send for FdbApiBuilder
impl Sync for FdbApiBuilder
impl Unpin for FdbApiBuilder
impl UnwindSafe for FdbApiBuilder
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, 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,