mediasoup_sys::fbs::response

Enum Body

Source
pub enum Body {
Show 32 variants WorkerDumpResponse(Box<DumpResponse>), WorkerResourceUsageResponse(Box<ResourceUsageResponse>), WebRtcServerDumpResponse(Box<DumpResponse>), RouterDumpResponse(Box<DumpResponse>), TransportProduceResponse(Box<ProduceResponse>), TransportConsumeResponse(Box<ConsumeResponse>), TransportRestartIceResponse(Box<RestartIceResponse>), PlainTransportConnectResponse(Box<ConnectResponse>), PlainTransportDumpResponse(Box<DumpResponse>), PlainTransportGetStatsResponse(Box<GetStatsResponse>), PipeTransportConnectResponse(Box<ConnectResponse>), PipeTransportDumpResponse(Box<DumpResponse>), PipeTransportGetStatsResponse(Box<GetStatsResponse>), DirectTransportDumpResponse(Box<DumpResponse>), DirectTransportGetStatsResponse(Box<GetStatsResponse>), WebRtcTransportConnectResponse(Box<ConnectResponse>), WebRtcTransportDumpResponse(Box<DumpResponse>), WebRtcTransportGetStatsResponse(Box<GetStatsResponse>), ProducerDumpResponse(Box<DumpResponse>), ProducerGetStatsResponse(Box<GetStatsResponse>), ConsumerDumpResponse(Box<DumpResponse>), ConsumerGetStatsResponse(Box<GetStatsResponse>), ConsumerSetPreferredLayersResponse(Box<SetPreferredLayersResponse>), ConsumerSetPriorityResponse(Box<SetPriorityResponse>), DataProducerDumpResponse(Box<DumpResponse>), DataProducerGetStatsResponse(Box<GetStatsResponse>), DataConsumerGetBufferedAmountResponse(Box<GetBufferedAmountResponse>), DataConsumerDumpResponse(Box<DumpResponse>), DataConsumerGetStatsResponse(Box<GetStatsResponse>), DataConsumerSetSubchannelsResponse(Box<SetSubchannelsResponse>), DataConsumerAddSubchannelResponse(Box<AddSubchannelResponse>), DataConsumerRemoveSubchannelResponse(Box<RemoveSubchannelResponse>),
}
Expand description

The union Body in the namespace FBS.Response

Generated from these locations:

  • Union Body in the file fbs/response.fbs:12

Variants§

§

WorkerDumpResponse(Box<DumpResponse>)

The variant Worker_DumpResponse in the union Body

§

WorkerResourceUsageResponse(Box<ResourceUsageResponse>)

The variant Worker_ResourceUsageResponse in the union Body

§

WebRtcServerDumpResponse(Box<DumpResponse>)

The variant WebRtcServer_DumpResponse in the union Body

§

RouterDumpResponse(Box<DumpResponse>)

The variant Router_DumpResponse in the union Body

§

TransportProduceResponse(Box<ProduceResponse>)

The variant Transport_ProduceResponse in the union Body

§

TransportConsumeResponse(Box<ConsumeResponse>)

The variant Transport_ConsumeResponse in the union Body

§

TransportRestartIceResponse(Box<RestartIceResponse>)

The variant Transport_RestartIceResponse in the union Body

§

PlainTransportConnectResponse(Box<ConnectResponse>)

The variant PlainTransport_ConnectResponse in the union Body

§

PlainTransportDumpResponse(Box<DumpResponse>)

The variant PlainTransport_DumpResponse in the union Body

§

PlainTransportGetStatsResponse(Box<GetStatsResponse>)

The variant PlainTransport_GetStatsResponse in the union Body

§

PipeTransportConnectResponse(Box<ConnectResponse>)

The variant PipeTransport_ConnectResponse in the union Body

§

PipeTransportDumpResponse(Box<DumpResponse>)

The variant PipeTransport_DumpResponse in the union Body

§

PipeTransportGetStatsResponse(Box<GetStatsResponse>)

The variant PipeTransport_GetStatsResponse in the union Body

§

DirectTransportDumpResponse(Box<DumpResponse>)

The variant DirectTransport_DumpResponse in the union Body

§

DirectTransportGetStatsResponse(Box<GetStatsResponse>)

The variant DirectTransport_GetStatsResponse in the union Body

§

WebRtcTransportConnectResponse(Box<ConnectResponse>)

The variant WebRtcTransport_ConnectResponse in the union Body

§

WebRtcTransportDumpResponse(Box<DumpResponse>)

The variant WebRtcTransport_DumpResponse in the union Body

§

WebRtcTransportGetStatsResponse(Box<GetStatsResponse>)

The variant WebRtcTransport_GetStatsResponse in the union Body

§

ProducerDumpResponse(Box<DumpResponse>)

The variant Producer_DumpResponse in the union Body

§

ProducerGetStatsResponse(Box<GetStatsResponse>)

The variant Producer_GetStatsResponse in the union Body

§

ConsumerDumpResponse(Box<DumpResponse>)

The variant Consumer_DumpResponse in the union Body

§

ConsumerGetStatsResponse(Box<GetStatsResponse>)

The variant Consumer_GetStatsResponse in the union Body

§

ConsumerSetPreferredLayersResponse(Box<SetPreferredLayersResponse>)

The variant Consumer_SetPreferredLayersResponse in the union Body

§

ConsumerSetPriorityResponse(Box<SetPriorityResponse>)

The variant Consumer_SetPriorityResponse in the union Body

§

DataProducerDumpResponse(Box<DumpResponse>)

The variant DataProducer_DumpResponse in the union Body

§

DataProducerGetStatsResponse(Box<GetStatsResponse>)

The variant DataProducer_GetStatsResponse in the union Body

§

DataConsumerGetBufferedAmountResponse(Box<GetBufferedAmountResponse>)

The variant DataConsumer_GetBufferedAmountResponse in the union Body

§

DataConsumerDumpResponse(Box<DumpResponse>)

The variant DataConsumer_DumpResponse in the union Body

§

DataConsumerGetStatsResponse(Box<GetStatsResponse>)

The variant DataConsumer_GetStatsResponse in the union Body

§

DataConsumerSetSubchannelsResponse(Box<SetSubchannelsResponse>)

The variant DataConsumer_SetSubchannelsResponse in the union Body

§

DataConsumerAddSubchannelResponse(Box<AddSubchannelResponse>)

The variant DataConsumer_AddSubchannelResponse in the union Body

§

DataConsumerRemoveSubchannelResponse(Box<RemoveSubchannelResponse>)

The variant DataConsumer_RemoveSubchannelResponse in the union Body

Implementations§

Source§

impl Body

Source

pub fn builder() -> BodyBuilder<Uninitialized>

Creates a BodyBuilder for serializing an instance of this table.

Source

pub fn create_worker_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_worker_resource_usage_response( builder: &mut Builder, value: impl WriteAsOffset<ResourceUsageResponse>, ) -> UnionOffset<Self>

Source

pub fn create_web_rtc_server_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_router_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_transport_produce_response( builder: &mut Builder, value: impl WriteAsOffset<ProduceResponse>, ) -> UnionOffset<Self>

Source

pub fn create_transport_consume_response( builder: &mut Builder, value: impl WriteAsOffset<ConsumeResponse>, ) -> UnionOffset<Self>

Source

pub fn create_transport_restart_ice_response( builder: &mut Builder, value: impl WriteAsOffset<RestartIceResponse>, ) -> UnionOffset<Self>

Source

pub fn create_plain_transport_connect_response( builder: &mut Builder, value: impl WriteAsOffset<ConnectResponse>, ) -> UnionOffset<Self>

Source

pub fn create_plain_transport_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_plain_transport_get_stats_response( builder: &mut Builder, value: impl WriteAsOffset<GetStatsResponse>, ) -> UnionOffset<Self>

Source

pub fn create_pipe_transport_connect_response( builder: &mut Builder, value: impl WriteAsOffset<ConnectResponse>, ) -> UnionOffset<Self>

Source

pub fn create_pipe_transport_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_pipe_transport_get_stats_response( builder: &mut Builder, value: impl WriteAsOffset<GetStatsResponse>, ) -> UnionOffset<Self>

Source

pub fn create_direct_transport_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_direct_transport_get_stats_response( builder: &mut Builder, value: impl WriteAsOffset<GetStatsResponse>, ) -> UnionOffset<Self>

Source

pub fn create_web_rtc_transport_connect_response( builder: &mut Builder, value: impl WriteAsOffset<ConnectResponse>, ) -> UnionOffset<Self>

Source

pub fn create_web_rtc_transport_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_web_rtc_transport_get_stats_response( builder: &mut Builder, value: impl WriteAsOffset<GetStatsResponse>, ) -> UnionOffset<Self>

Source

pub fn create_producer_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_producer_get_stats_response( builder: &mut Builder, value: impl WriteAsOffset<GetStatsResponse>, ) -> UnionOffset<Self>

Source

pub fn create_consumer_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_consumer_get_stats_response( builder: &mut Builder, value: impl WriteAsOffset<GetStatsResponse>, ) -> UnionOffset<Self>

Source

pub fn create_consumer_set_preferred_layers_response( builder: &mut Builder, value: impl WriteAsOffset<SetPreferredLayersResponse>, ) -> UnionOffset<Self>

Source

pub fn create_consumer_set_priority_response( builder: &mut Builder, value: impl WriteAsOffset<SetPriorityResponse>, ) -> UnionOffset<Self>

Source

pub fn create_data_producer_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_data_producer_get_stats_response( builder: &mut Builder, value: impl WriteAsOffset<GetStatsResponse>, ) -> UnionOffset<Self>

Source

pub fn create_data_consumer_get_buffered_amount_response( builder: &mut Builder, value: impl WriteAsOffset<GetBufferedAmountResponse>, ) -> UnionOffset<Self>

Source

pub fn create_data_consumer_dump_response( builder: &mut Builder, value: impl WriteAsOffset<DumpResponse>, ) -> UnionOffset<Self>

Source

pub fn create_data_consumer_get_stats_response( builder: &mut Builder, value: impl WriteAsOffset<GetStatsResponse>, ) -> UnionOffset<Self>

Source

pub fn create_data_consumer_set_subchannels_response( builder: &mut Builder, value: impl WriteAsOffset<SetSubchannelsResponse>, ) -> UnionOffset<Self>

Source

pub fn create_data_consumer_add_subchannel_response( builder: &mut Builder, value: impl WriteAsOffset<AddSubchannelResponse>, ) -> UnionOffset<Self>

Source

pub fn create_data_consumer_remove_subchannel_response( builder: &mut Builder, value: impl WriteAsOffset<RemoveSubchannelResponse>, ) -> UnionOffset<Self>

Trait Implementations§

Source§

impl Clone for Body

Source§

fn clone(&self) -> Body

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Body

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Body

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Body

Source§

fn eq(&self, other: &Body) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Body

Source§

fn partial_cmp(&self, other: &Body) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for Body

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> TryFrom<BodyRef<'a>> for Body

Source§

type Error = Error

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

fn try_from(value: BodyRef<'a>) -> Result<Self>

Performs the conversion.
Source§

impl StructuralPartialEq for Body

Source§

impl WriteAsOptionalUnion<Body> for Body

Source§

impl WriteAsUnion<Body> for Body

Auto Trait Implementations§

§

impl Freeze for Body

§

impl RefUnwindSafe for Body

§

impl Send for Body

§

impl Sync for Body

§

impl Unpin for Body

§

impl UnwindSafe for Body

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,