pub struct SynapseStore {
pub store: Store,
pub namespace: String,
pub id_to_uri: RwLock<HashMap<u32, String>>,
pub uri_to_id: RwLock<HashMap<String, u32>>,
pub next_id: AtomicU32,
}Fields§
§store: Store§namespace: String§id_to_uri: RwLock<HashMap<u32, String>>§uri_to_id: RwLock<HashMap<String, u32>>§next_id: AtomicU32Implementations§
Source§impl SynapseStore
impl SynapseStore
Auto Trait Implementations§
impl !Freeze for SynapseStore
impl RefUnwindSafe for SynapseStore
impl Send for SynapseStore
impl Sync for SynapseStore
impl Unpin for SynapseStore
impl UnwindSafe for SynapseStore
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request