mediasoup_sys::fbs::request

Enum Method

Source
#[repr(u8)]
pub enum Method {
Show 69 variants WorkerClose = 0, WorkerDump = 1, WorkerGetResourceUsage = 2, WorkerUpdateSettings = 3, WorkerCreateWebrtcserver = 4, WorkerCreateRouter = 5, WorkerWebrtcserverClose = 6, WorkerCloseRouter = 7, WebrtcserverDump = 8, RouterDump = 9, RouterCreateWebrtctransport = 10, RouterCreateWebrtctransportWithServer = 11, RouterCreatePlaintransport = 12, RouterCreatePipetransport = 13, RouterCreateDirecttransport = 14, RouterCloseTransport = 15, RouterCreateActivespeakerobserver = 16, RouterCreateAudiolevelobserver = 17, RouterCloseRtpobserver = 18, TransportDump = 19, TransportGetStats = 20, TransportConnect = 21, TransportSetMaxIncomingBitrate = 22, TransportSetMaxOutgoingBitrate = 23, TransportSetMinOutgoingBitrate = 24, TransportRestartIce = 25, TransportProduce = 26, TransportProduceData = 27, TransportConsume = 28, TransportConsumeData = 29, TransportEnableTraceEvent = 30, TransportCloseProducer = 31, TransportCloseConsumer = 32, TransportCloseDataproducer = 33, TransportCloseDataconsumer = 34, PlaintransportConnect = 35, PipetransportConnect = 36, WebrtctransportConnect = 37, ProducerDump = 38, ProducerGetStats = 39, ProducerPause = 40, ProducerResume = 41, ProducerEnableTraceEvent = 42, ConsumerDump = 43, ConsumerGetStats = 44, ConsumerPause = 45, ConsumerResume = 46, ConsumerSetPreferredLayers = 47, ConsumerSetPriority = 48, ConsumerRequestKeyFrame = 49, ConsumerEnableTraceEvent = 50, DataproducerDump = 51, DataproducerGetStats = 52, DataproducerPause = 53, DataproducerResume = 54, DataconsumerDump = 55, DataconsumerGetStats = 56, DataconsumerPause = 57, DataconsumerResume = 58, DataconsumerGetBufferedAmount = 59, DataconsumerSetBufferedAmountLowThreshold = 60, DataconsumerSend = 61, DataconsumerSetSubchannels = 62, DataconsumerAddSubchannel = 63, DataconsumerRemoveSubchannel = 64, RtpobserverPause = 65, RtpobserverResume = 66, RtpobserverAddProducer = 67, RtpobserverRemoveProducer = 68,
}
Expand description

The enum Method in the namespace FBS.Request

Generated from these locations:

  • Enum Method in the file fbs/request.fbs:11

Variants§

§

WorkerClose = 0

The variant WORKER_CLOSE in the enum Method

§

WorkerDump = 1

The variant WORKER_DUMP in the enum Method

§

WorkerGetResourceUsage = 2

The variant WORKER_GET_RESOURCE_USAGE in the enum Method

§

WorkerUpdateSettings = 3

The variant WORKER_UPDATE_SETTINGS in the enum Method

§

WorkerCreateWebrtcserver = 4

The variant WORKER_CREATE_WEBRTCSERVER in the enum Method

§

WorkerCreateRouter = 5

The variant WORKER_CREATE_ROUTER in the enum Method

§

WorkerWebrtcserverClose = 6

The variant WORKER_WEBRTCSERVER_CLOSE in the enum Method

§

WorkerCloseRouter = 7

The variant WORKER_CLOSE_ROUTER in the enum Method

§

WebrtcserverDump = 8

The variant WEBRTCSERVER_DUMP in the enum Method

§

RouterDump = 9

The variant ROUTER_DUMP in the enum Method

§

RouterCreateWebrtctransport = 10

The variant ROUTER_CREATE_WEBRTCTRANSPORT in the enum Method

§

RouterCreateWebrtctransportWithServer = 11

The variant ROUTER_CREATE_WEBRTCTRANSPORT_WITH_SERVER in the enum Method

§

RouterCreatePlaintransport = 12

The variant ROUTER_CREATE_PLAINTRANSPORT in the enum Method

§

RouterCreatePipetransport = 13

The variant ROUTER_CREATE_PIPETRANSPORT in the enum Method

§

RouterCreateDirecttransport = 14

The variant ROUTER_CREATE_DIRECTTRANSPORT in the enum Method

§

RouterCloseTransport = 15

The variant ROUTER_CLOSE_TRANSPORT in the enum Method

§

RouterCreateActivespeakerobserver = 16

The variant ROUTER_CREATE_ACTIVESPEAKEROBSERVER in the enum Method

§

RouterCreateAudiolevelobserver = 17

The variant ROUTER_CREATE_AUDIOLEVELOBSERVER in the enum Method

§

RouterCloseRtpobserver = 18

The variant ROUTER_CLOSE_RTPOBSERVER in the enum Method

§

TransportDump = 19

The variant TRANSPORT_DUMP in the enum Method

§

TransportGetStats = 20

The variant TRANSPORT_GET_STATS in the enum Method

§

TransportConnect = 21

The variant TRANSPORT_CONNECT in the enum Method

§

TransportSetMaxIncomingBitrate = 22

The variant TRANSPORT_SET_MAX_INCOMING_BITRATE in the enum Method

§

TransportSetMaxOutgoingBitrate = 23

The variant TRANSPORT_SET_MAX_OUTGOING_BITRATE in the enum Method

§

TransportSetMinOutgoingBitrate = 24

The variant TRANSPORT_SET_MIN_OUTGOING_BITRATE in the enum Method

§

TransportRestartIce = 25

The variant TRANSPORT_RESTART_ICE in the enum Method

§

TransportProduce = 26

The variant TRANSPORT_PRODUCE in the enum Method

§

TransportProduceData = 27

The variant TRANSPORT_PRODUCE_DATA in the enum Method

§

TransportConsume = 28

The variant TRANSPORT_CONSUME in the enum Method

§

TransportConsumeData = 29

The variant TRANSPORT_CONSUME_DATA in the enum Method

§

TransportEnableTraceEvent = 30

The variant TRANSPORT_ENABLE_TRACE_EVENT in the enum Method

§

TransportCloseProducer = 31

The variant TRANSPORT_CLOSE_PRODUCER in the enum Method

§

TransportCloseConsumer = 32

The variant TRANSPORT_CLOSE_CONSUMER in the enum Method

§

TransportCloseDataproducer = 33

The variant TRANSPORT_CLOSE_DATAPRODUCER in the enum Method

§

TransportCloseDataconsumer = 34

The variant TRANSPORT_CLOSE_DATACONSUMER in the enum Method

§

PlaintransportConnect = 35

The variant PLAINTRANSPORT_CONNECT in the enum Method

§

PipetransportConnect = 36

The variant PIPETRANSPORT_CONNECT in the enum Method

§

WebrtctransportConnect = 37

The variant WEBRTCTRANSPORT_CONNECT in the enum Method

§

ProducerDump = 38

The variant PRODUCER_DUMP in the enum Method

§

ProducerGetStats = 39

The variant PRODUCER_GET_STATS in the enum Method

§

ProducerPause = 40

The variant PRODUCER_PAUSE in the enum Method

§

ProducerResume = 41

The variant PRODUCER_RESUME in the enum Method

§

ProducerEnableTraceEvent = 42

The variant PRODUCER_ENABLE_TRACE_EVENT in the enum Method

§

ConsumerDump = 43

The variant CONSUMER_DUMP in the enum Method

§

ConsumerGetStats = 44

The variant CONSUMER_GET_STATS in the enum Method

§

ConsumerPause = 45

The variant CONSUMER_PAUSE in the enum Method

§

ConsumerResume = 46

The variant CONSUMER_RESUME in the enum Method

§

ConsumerSetPreferredLayers = 47

The variant CONSUMER_SET_PREFERRED_LAYERS in the enum Method

§

ConsumerSetPriority = 48

The variant CONSUMER_SET_PRIORITY in the enum Method

§

ConsumerRequestKeyFrame = 49

The variant CONSUMER_REQUEST_KEY_FRAME in the enum Method

§

ConsumerEnableTraceEvent = 50

The variant CONSUMER_ENABLE_TRACE_EVENT in the enum Method

§

DataproducerDump = 51

The variant DATAPRODUCER_DUMP in the enum Method

§

DataproducerGetStats = 52

The variant DATAPRODUCER_GET_STATS in the enum Method

§

DataproducerPause = 53

The variant DATAPRODUCER_PAUSE in the enum Method

§

DataproducerResume = 54

The variant DATAPRODUCER_RESUME in the enum Method

§

DataconsumerDump = 55

The variant DATACONSUMER_DUMP in the enum Method

§

DataconsumerGetStats = 56

The variant DATACONSUMER_GET_STATS in the enum Method

§

DataconsumerPause = 57

The variant DATACONSUMER_PAUSE in the enum Method

§

DataconsumerResume = 58

The variant DATACONSUMER_RESUME in the enum Method

§

DataconsumerGetBufferedAmount = 59

The variant DATACONSUMER_GET_BUFFERED_AMOUNT in the enum Method

§

DataconsumerSetBufferedAmountLowThreshold = 60

The variant DATACONSUMER_SET_BUFFERED_AMOUNT_LOW_THRESHOLD in the enum Method

§

DataconsumerSend = 61

The variant DATACONSUMER_SEND in the enum Method

§

DataconsumerSetSubchannels = 62

The variant DATACONSUMER_SET_SUBCHANNELS in the enum Method

§

DataconsumerAddSubchannel = 63

The variant DATACONSUMER_ADD_SUBCHANNEL in the enum Method

§

DataconsumerRemoveSubchannel = 64

The variant DATACONSUMER_REMOVE_SUBCHANNEL in the enum Method

§

RtpobserverPause = 65

The variant RTPOBSERVER_PAUSE in the enum Method

§

RtpobserverResume = 66

The variant RTPOBSERVER_RESUME in the enum Method

§

RtpobserverAddProducer = 67

The variant RTPOBSERVER_ADD_PRODUCER in the enum Method

§

RtpobserverRemoveProducer = 68

The variant RTPOBSERVER_REMOVE_PRODUCER in the enum Method

Implementations§

Source§

impl Method

Source

pub const ENUM_VALUES: [Self; 69]

Array containing all valid variants of Method

Trait Implementations§

Source§

impl Clone for Method

Source§

fn clone(&self) -> Method

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 Method

Source§

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

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

impl<'de> Deserialize<'de> for Method

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 From<Method> for u8

Source§

fn from(value: Method) -> Self

Converts to this type from the input type.
Source§

impl Hash for Method

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Method

Source§

fn cmp(&self, other: &Method) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Method

Source§

fn eq(&self, other: &Method) -> 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 Method

Source§

fn partial_cmp(&self, other: &Method) -> 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 Method

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 TryFrom<u8> for Method

Source§

type Error = UnknownEnumTagKind

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

fn try_from(value: u8) -> Result<Self, UnknownEnumTagKind>

Performs the conversion.
Source§

impl Copy for Method

Source§

impl Eq for Method

Source§

impl StructuralPartialEq for Method

Source§

impl VectorWrite<Method> for Method

Source§

impl WriteAs<Method> for Method

Source§

impl WriteAsDefault<Method, Method> for Method

Source§

impl WriteAsOptional<Method> for Method

Auto Trait Implementations§

§

impl Freeze for Method

§

impl RefUnwindSafe for Method

§

impl Send for Method

§

impl Sync for Method

§

impl Unpin for Method

§

impl UnwindSafe for Method

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<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. 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>,