pub struct ChunkReceived {
pub chunk: Chunk,
pub participant_identity: ParticipantIdentity,
pub topic: Option<String>,
}Expand description
A “raw chunk received” notification, which is used to trigger the deprecated [RoomEvent:::StreamChunkReceived] event.
Fields§
§chunk: Chunk§participant_identity: ParticipantIdentity§topic: Option<String>Topic of the stream this chunk belongs to, or None if the associated stream id could
not be mapped to a topic.
Trait Implementations§
Source§impl From<ChunkReceived> for OutputEvent
Convert into ChunkReceived variant.
impl From<ChunkReceived> for OutputEvent
Convert into ChunkReceived variant.
Source§fn from(v: ChunkReceived) -> Self
fn from(v: ChunkReceived) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChunkReceived
impl RefUnwindSafe for ChunkReceived
impl Send for ChunkReceived
impl Sync for ChunkReceived
impl Unpin for ChunkReceived
impl UnsafeUnpin for ChunkReceived
impl UnwindSafe for ChunkReceived
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