pub struct NativeHistoryConfig { /* private fields */ }Implementations§
Source§impl NativeHistoryConfig
impl NativeHistoryConfig
pub fn new( roots: Vec<NativeHistoryRoot>, ) -> Result<NativeHistoryConfig, NativeHistoryConfigError>
pub fn with_limits( roots: Vec<NativeHistoryRoot>, limits: NativeHistoryLimits, ) -> Result<NativeHistoryConfig, NativeHistoryConfigError>
pub fn roots(&self) -> &[NativeHistoryRoot]
pub fn limits(&self) -> NativeHistoryLimits
Trait Implementations§
Source§impl Clone for NativeHistoryConfig
impl Clone for NativeHistoryConfig
Source§fn clone(&self) -> NativeHistoryConfig
fn clone(&self) -> NativeHistoryConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeHistoryConfig
impl Debug for NativeHistoryConfig
impl Eq for NativeHistoryConfig
Source§impl PartialEq for NativeHistoryConfig
impl PartialEq for NativeHistoryConfig
impl StructuralPartialEq for NativeHistoryConfig
Auto Trait Implementations§
impl Freeze for NativeHistoryConfig
impl RefUnwindSafe for NativeHistoryConfig
impl Send for NativeHistoryConfig
impl Sync for NativeHistoryConfig
impl Unpin for NativeHistoryConfig
impl UnsafeUnpin for NativeHistoryConfig
impl UnwindSafe for NativeHistoryConfig
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