pub struct NoopPartnerStore;๐Deprecated:
NoopPartnerStore must not be instantiated in production builds; PARTIN-derived partner updates will be silently discarded. Use SlateDbPartnerStore or another durable PartnerStore instead.
Expand description
A PartnerStore that never persists anything.
Every get returns None. Use as the default in deployments that rely
exclusively on static config-based partner lookup (i.e. when
PartnerDirectory::from_cli_pairs is sufficient).
โ ๏ธ Data loss: All upserts are silently discarded. PARTIN-derived updates received at runtime will not be retained across restarts.
Trait Implementationsยง
Sourceยงimpl Clone for NoopPartnerStore
impl Clone for NoopPartnerStore
Sourceยงfn clone(&self) -> NoopPartnerStore
fn clone(&self) -> NoopPartnerStore
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 moreimpl Copy for NoopPartnerStore
Sourceยงimpl Debug for NoopPartnerStore
impl Debug for NoopPartnerStore
Sourceยงimpl Default for NoopPartnerStore
impl Default for NoopPartnerStore
Sourceยงfn default() -> NoopPartnerStore
fn default() -> NoopPartnerStore
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for NoopPartnerStore
impl RefUnwindSafe for NoopPartnerStore
impl Send for NoopPartnerStore
impl Sync for NoopPartnerStore
impl Unpin for NoopPartnerStore
impl UnsafeUnpin for NoopPartnerStore
impl UnwindSafe for NoopPartnerStore
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