pub struct StreamOpened {
pub stream_reader: AnyStreamReader,
pub participant_identity: ParticipantIdentity,
}Expand description
A new stream was opened; its reader should be delivered to the application (or routed internally for reserved topics). Carries the sender’s identity.
Fields§
§stream_reader: AnyStreamReader§participant_identity: ParticipantIdentityTrait Implementations§
Source§impl From<StreamOpened> for OutputEvent
Convert into StreamOpened variant.
impl From<StreamOpened> for OutputEvent
Convert into StreamOpened variant.
Source§fn from(v: StreamOpened) -> Self
fn from(v: StreamOpened) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StreamOpened
impl !UnwindSafe for StreamOpened
impl Freeze for StreamOpened
impl Send for StreamOpened
impl Sync for StreamOpened
impl Unpin for StreamOpened
impl UnsafeUnpin for StreamOpened
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more