Module libp2p_core::either
source · Enums
- Implements
Future
and dispatches all method calls to eitherFirst
orSecond
. - Implements
AsyncRead
andAsyncWrite
and dispatches all method calls to eitherFirst
orSecond
.
Future
and dispatches all method calls to either First
or Second
.AsyncRead
and AsyncWrite
and dispatches all method calls to
either First
or Second
.