Skip to main content

Mpeg2TsMuxer

Struct Mpeg2TsMuxer 

Source
pub struct Mpeg2TsMuxer { /* private fields */ }

Trait Implementations§

Source§

impl Default for Mpeg2TsMuxer

Source§

fn default() -> Mpeg2TsMuxer

Returns the “default value” for a type. Read more
Source§

impl<F: Frame + Send, E: Error + Send + Sync + 'static> Service<Result<F, E>> for Mpeg2TsMuxer

Source§

type Out = Result<Bytes, Error<E>>

Source§

fn handle( self, input: impl Stream<Item = Result<F, E>> + Send, ) -> impl Stream<Item = Self::Out> + Send

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<I, T> ServiceExt<I> for T
where T: Service<I>,

Source§

fn flow<U>( self, service: U, ) -> impl Service<I, Out = <U as Service<Self::Out>>::Out>
where Self: Sized, U: Service<Self::Out>,

Source§

fn maybe_flow<U>(self, service: Option<U>) -> impl Service<I, Out = Self::Out>
where Self: Sized, U: Service<Self::Out, Out = Self::Out>,

Source§

fn spawn(self, buffer: usize) -> Spawn<Self>
where Self: Sized,

Source§

fn map<U, F>(self, map: F) -> impl Service<I, Out = U>
where Self: Sized, F: Send + FnMut(Self::Out) -> U,

Source§

fn abort_token( self, token: impl Future + Send, ) -> impl Service<I, Out = Self::Out>
where Self: Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, I, IE, O, OE> TryService<I, IE> for S
where S: Service<Result<I, IE>, Out = Result<O, OE>>,

Source§

type Ok = O

Source§

type Error = OE

Source§

fn try_handle( self, input: impl Stream<Item = Result<I, IE>> + Send, ) -> impl Stream<Item = Result<<S as TryService<I, IE>>::Ok, <S as TryService<I, IE>>::Error>> + Send