Struct merfolk_frontend_duplex::Duplex [−][src]
Fields
caller: FC
receiver: FR
Implementations
impl<'a, B, FC, FR> Duplex<'a, B, FC, FR> where
B: Backend + 'a,
FC: Frontend<Backend = B> + 'a,
FR: Frontend<Backend = B> + 'a,
[src]
B: Backend + 'a,
FC: Frontend<Backend = B> + 'a,
FR: Frontend<Backend = B> + 'a,
pub fn builder() -> DuplexBuilder<'a, B, FC, FR>
[src]
Trait Implementations
impl<'a, B, FC, FR> Frontend for Duplex<'a, B, FC, FR> where
B: Backend,
FC: Frontend<Backend = B>,
FR: Frontend<Backend = B>,
[src]
B: Backend,
FC: Frontend<Backend = B>,
FR: Frontend<Backend = B>,
type Backend = B
The used Backend
.
fn register<T>(&mut self, caller: T) -> Result<()> where
T: Fn(Call<<Self::Backend as Backend>::Intermediate>) -> Result<Reply<<Self::Backend as Backend>::Intermediate>> + 'static + Send + Sync,
[src]
T: Fn(Call<<Self::Backend as Backend>::Intermediate>) -> Result<Reply<<Self::Backend as Backend>::Intermediate>> + 'static + Send + Sync,
fn receive(
&self,
call: Call<<Self::Backend as Backend>::Intermediate>
) -> Result<Reply<<Self::Backend as Backend>::Intermediate>>
[src]
&self,
call: Call<<Self::Backend as Backend>::Intermediate>
) -> Result<Reply<<Self::Backend as Backend>::Intermediate>>
impl<'a, B, FC, FR> Send for Duplex<'a, B, FC, FR> where
B: Backend,
FC: Frontend<Backend = B>,
FR: Frontend<Backend = B>,
[src]
B: Backend,
FC: Frontend<Backend = B>,
FR: Frontend<Backend = B>,
Auto Trait Implementations
impl<'a, B, FC, FR> RefUnwindSafe for Duplex<'a, B, FC, FR> where
B: RefUnwindSafe,
FC: RefUnwindSafe,
FR: RefUnwindSafe,
[src]
B: RefUnwindSafe,
FC: RefUnwindSafe,
FR: RefUnwindSafe,
impl<'a, B, FC, FR> Sync for Duplex<'a, B, FC, FR> where
B: Sync,
FC: Sync,
FR: Sync,
[src]
B: Sync,
FC: Sync,
FR: Sync,
impl<'a, B, FC, FR> Unpin for Duplex<'a, B, FC, FR> where
FC: Unpin,
FR: Unpin,
[src]
FC: Unpin,
FR: Unpin,
impl<'a, B, FC, FR> UnwindSafe for Duplex<'a, B, FC, FR> where
B: RefUnwindSafe,
FC: UnwindSafe,
FR: UnwindSafe,
[src]
B: RefUnwindSafe,
FC: UnwindSafe,
FR: UnwindSafe,
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,
pub 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.
pub 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>,