pub struct StoreHandle {
pub name: String,
client: Arc<RedisStoreClient>,
}Expand description
A resolved store, held by a node for its lifetime.
RedisStoreClient carries its own hand-written Debug impl (its
connection manager has none), so Arc<RedisStoreClient> is Debug too and
this can derive rather than hand-write. The four store-* plugins that
hold one still can’t derive their own Debug: their other fields are only
read inside the #[cfg(feature = "redis-store")] execute body, and a
headless build has no such body to read them, so a derived impl (which
the dead-code pass ignores) would leave them looking unused there.
Fields§
§name: StringDeclared stores: name, carried for error messages.
client: Arc<RedisStoreClient>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StoreHandle
impl !UnwindSafe for StoreHandle
impl Freeze for StoreHandle
impl Send for StoreHandle
impl Sync for StoreHandle
impl Unpin for StoreHandle
impl UnsafeUnpin for StoreHandle
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more