Home
last modified time | relevance | path

Searched refs:Si2 (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/futures-util/src/sink/
Dfanout.rs13 pub struct Fanout<Si1, Si2> {
17 sink2: Si2
21 impl<Si1, Si2> Fanout<Si1, Si2> {
22 pub(super) fn new(sink1: Si1, sink2: Si2) -> Self { in new()
27 pub fn get_ref(&self) -> (&Si1, &Si2) { in get_ref() argument
32 pub fn get_mut(&mut self) -> (&mut Si1, &mut Si2) { in get_mut() argument
37 pub fn get_pin_mut(self: Pin<&mut Self>) -> (Pin<&mut Si1>, Pin<&mut Si2>) { in get_pin_mut() argument
46 pub fn into_inner(self) -> (Si1, Si2) { in into_inner() argument
51 impl<Si1: Debug, Si2: Debug> Debug for Fanout<Si1, Si2> {
60 impl<Si1, Si2, Item> Sink<Item> for Fanout<Si1, Si2>
[all …]
Dmod.rs267 fn left_sink<Si2>(self) -> Either<Self, Si2> in left_sink()
269 Si2: Sink<Item, Error = Self::Error>, in left_sink()