pub struct BaseGanglionInner<S: ?Sized> {
pub id: Uuid,
pub synapses_by_name: Arc<RwLock<HashMap<String, Arc<RwLock<S>>>>>,
pub state: RwLock<ConnectionState>,
pub relevant_neurons: RwLock<HashSet<String>>,
pub ignored_neurons: RwLock<HashSet<String>>,
pub relevant_codecs: RwLock<HashSet<String>>,
pub ignored_codecs: RwLock<HashSet<String>>,
pub transmit_backpressure: BackpressureConfig,
pub transduce_backpressure: BackpressureConfig,
}Fields§
§id: Uuid§synapses_by_name: Arc<RwLock<HashMap<String, Arc<RwLock<S>>>>>§state: RwLock<ConnectionState>§relevant_neurons: RwLock<HashSet<String>>§ignored_neurons: RwLock<HashSet<String>>§relevant_codecs: RwLock<HashSet<String>>§ignored_codecs: RwLock<HashSet<String>>§transmit_backpressure: BackpressureConfig§transduce_backpressure: BackpressureConfigAuto Trait Implementations§
impl<S> !Freeze for BaseGanglionInner<S>
impl<S> RefUnwindSafe for BaseGanglionInner<S>where
S: ?Sized,
impl<S> Send for BaseGanglionInner<S>
impl<S> Sync for BaseGanglionInner<S>
impl<S> Unpin for BaseGanglionInner<S>where
S: ?Sized,
impl<S> UnwindSafe for BaseGanglionInner<S>where
S: ?Sized,
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> 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