Struct fabruic::Incoming [−][src]
pub struct Incoming<T: DeserializeOwned> { /* fields omitted */ }
Expand description
An intermediate state to define which type to accept in this stream. See
accept_stream
.
Implementations
Returns the type information for that stream.
Errors
error::Incoming::Receiver
if receiving the type information to the peer failed, seeerror::Receiver
for more detailserror::Incoming::Closed
if the stream was closed
Accept the incoming stream with the given types.
Use S
and R
to define which type this stream is sending and
receiving.
Errors
error::Incoming::Receiver
if receiving the type information to the peer failed, seeerror::Receiver
for more detailserror::Incoming::Closed
if the stream was closed
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for Incoming<T>
impl<T> !UnwindSafe for Incoming<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more