Struct ferrite_session::internal::base::public::SharedChannel [−][src]
pub struct SharedChannel<S> where
S: SharedProtocol, { /* fields omitted */ }
Implementations
impl<F> SharedChannel<LinearToShared<F>> where
F: Protocol,
F: SharedRecApp<SharedToLinear<F>>,
F::Applied: Protocol,
[src]
impl<F> SharedChannel<LinearToShared<F>> where
F: Protocol,
F: SharedRecApp<SharedToLinear<F>>,
F::Applied: Protocol,
[src]pub fn acquire<C, A>(
&self,
cont: impl FnOnce(C::Length) -> PartialSession<C::Appended, A> + Send + 'static
) -> PartialSession<C, A> where
C: Context,
A: Protocol,
C: AppendContext<(F::Applied, ())>,
[src]
&self,
cont: impl FnOnce(C::Length) -> PartialSession<C::Appended, A> + Send + 'static
) -> PartialSession<C, A> where
C: Context,
A: Protocol,
C: AppendContext<(F::Applied, ())>,
Trait Implementations
impl<S> Clone for SharedChannel<S> where
S: SharedProtocol,
[src]
impl<S> Clone for SharedChannel<S> where
S: SharedProtocol,
[src]impl<'a, A> Deserialize<'a> for SharedChannel<A> where
A: SharedProtocol + ForwardChannel,
[src]
impl<'a, A> Deserialize<'a> for SharedChannel<A> where
A: SharedProtocol + ForwardChannel,
[src]fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<A> Serialize for SharedChannel<A> where
A: SharedProtocol + ForwardChannel,
[src]
impl<A> Serialize for SharedChannel<A> where
A: SharedProtocol + ForwardChannel,
[src]Auto Trait Implementations
impl<S> !RefUnwindSafe for SharedChannel<S>
impl<S> Send for SharedChannel<S>
impl<S> Sync for SharedChannel<S>
impl<S> Unpin for SharedChannel<S>
impl<S> !UnwindSafe for SharedChannel<S>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<F, A, X> HasRecApp<F, A> for X where
X: HasRecApp<F, A>,
[src]
X: HasRecApp<F, A>,