pub struct TrailerReceived {
pub trailer: Trailer,
pub participant_identity: ParticipantIdentity,
pub topic: Option<String>,
}Expand description
A “raw trailer received” notification, which is used to trigger the deprecated [RoomEvent:::StreamTrailerReceived] event.
Fields§
§trailer: Trailer§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.
See ChunkReceived::topic.
Trait Implementations§
Source§impl From<TrailerReceived> for OutputEvent
Convert into TrailerReceived variant.
impl From<TrailerReceived> for OutputEvent
Convert into TrailerReceived variant.
Source§fn from(v: TrailerReceived) -> Self
fn from(v: TrailerReceived) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TrailerReceived
impl RefUnwindSafe for TrailerReceived
impl Send for TrailerReceived
impl Sync for TrailerReceived
impl Unpin for TrailerReceived
impl UnsafeUnpin for TrailerReceived
impl UnwindSafe for TrailerReceived
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