Struct holochain_sqlite::db::PConnGuard
source · [−]pub struct PConnGuard(pub PConn, _);
Tuple Fields
0: PConn
Methods from Deref<Target = PConn>
pub fn with_reader_test<R, F>(&'e mut self, f: F) -> R where
F: 'e + FnOnce(Transaction<'_>) -> R,
Trait Implementations
Get an AgentInfoSigned record from the p2p_store
List all AgentInfoSigned records within a space in the p2p_agent_store
fn p2p_gossip_query_agents(
&mut self,
since_ms: u64,
until_ms: u64,
arcset: DhtArcSet
) -> DatabaseResult<Vec<AgentInfoSigned>>
fn p2p_gossip_query_agents(
&mut self,
since_ms: u64,
until_ms: u64,
arcset: DhtArcSet
) -> DatabaseResult<Vec<AgentInfoSigned>>
Query agent list for gossip
fn p2p_query_near_basis(
&mut self,
basis: u32,
limit: u32
) -> DatabaseResult<Vec<AgentInfoSigned>>
fn p2p_query_near_basis(
&mut self,
basis: u32,
limit: u32
) -> DatabaseResult<Vec<AgentInfoSigned>>
Query agents sorted by nearness to basis loc
Extrapolate coverage from agents within our own storage arc
Mutably borrows from an owned value. Read more
Auto Trait Implementations
impl !RefUnwindSafe for PConnGuard
impl Send for PConnGuard
impl !Sync for PConnGuard
impl Unpin for PConnGuard
impl !UnwindSafe for PConnGuard
Blanket Implementations
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more