[−][src]Struct shalc::OuterBonds
Outer code communicates with Shalc using this.
Fields
command_tx: Sender<Command>
Send commands to Shalc through this Sender.
If Shalc can't recieve command, it finishes calculations and drops.
notification_rx: Receiver<Notification>
Get notifications from Shalc through this Reciever.
If Shalc can't send notification, it finishes calculations and drops.
calc_rx: Receiver<Arc<Calc>>
Shalc shares calculations through this.
Attention: Shalc starts next iteration only when all clones of sended Arc<Calc>
are
recieved and dropped.
If Shalc can't send Arc
Trait Implementations
Auto Trait Implementations
impl<Calc> !RefUnwindSafe for OuterBonds<Calc>
impl<Calc> Send for OuterBonds<Calc> where
Calc: Send + Sync,
Calc: Send + Sync,
impl<Calc> !Sync for OuterBonds<Calc>
impl<Calc> Unpin for OuterBonds<Calc>
impl<Calc> !UnwindSafe for OuterBonds<Calc>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,