pub struct PrefixedConfigBuilder { /* private fields */ }
Expand description
Builder for PrefixedConfig
.
Implementations§
Source§impl PrefixedConfigBuilder
impl PrefixedConfigBuilder
Sourcepub fn seperator(&mut self, value: Vec<u8>) -> &mut Self
pub fn seperator(&mut self, value: Vec<u8>) -> &mut Self
The seperator between the prefix and the key. The default is the NULL byte b"\0"
which is
the same as the JavaScript
implementation.
Sourcepub fn build(&self) -> Result<PrefixedConfig, PrefixedConfigBuilderError>
pub fn build(&self) -> Result<PrefixedConfig, PrefixedConfigBuilderError>
Trait Implementations§
Source§impl Clone for PrefixedConfigBuilder
impl Clone for PrefixedConfigBuilder
Source§fn clone(&self) -> PrefixedConfigBuilder
fn clone(&self) -> PrefixedConfigBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PrefixedConfigBuilder
impl Debug for PrefixedConfigBuilder
Auto Trait Implementations§
impl Freeze for PrefixedConfigBuilder
impl RefUnwindSafe for PrefixedConfigBuilder
impl Send for PrefixedConfigBuilder
impl Sync for PrefixedConfigBuilder
impl Unpin for PrefixedConfigBuilder
impl UnwindSafe for PrefixedConfigBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more