[−][src]Struct neo4rs::ConfigBuilder
A builder to override default configurations and build the Config
Implementations
impl ConfigBuilder
[src]
pub fn uri(self, uri: &str) -> Self
[src]
the uri of the neo4j server
pub fn user(self, user: &str) -> Self
[src]
username for authentication
pub fn password(self, password: &str) -> Self
[src]
password for authentication
pub fn db(self, db: &str) -> Self
[src]
the name of the database, defaults to "neo4j" if not configured.
pub fn fetch_size(self, fetch_size: usize) -> Self
[src]
fetch_size indicates the number of rows to fetch from server in one request, it is recommended to use a large fetch_size if you are working with large data sets. default fetch_size is 200
pub fn max_connections(self, max_connections: usize) -> Self
[src]
maximum number of connections in the connection pool
pub fn build(self) -> Result<Config>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConfigBuilder
[src]
impl Send for ConfigBuilder
[src]
impl Sync for ConfigBuilder
[src]
impl Unpin for ConfigBuilder
[src]
impl UnwindSafe for ConfigBuilder
[src]
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,
pub 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.
pub 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>,