Skip to main content

RestRoute

Enum RestRoute 

Source
pub enum RestRoute {
Show 26 variants CreateApplication, DeleteApplication { app: String, }, GetApplications, CreateType, DeleteType { type_name: String, }, GetTypes, CreateQosLibrary, UpdateQosLibrary { qos_lib: String, }, DeleteQosLibrary { qos_lib: String, }, GetQosLibraries, CreateQosProfile { qos_lib: String, }, UpdateQosProfile { qos_lib: String, profile: String, }, DeleteQosProfile { qos_lib: String, profile: String, }, GetQosProfiles { qos_lib: String, }, CreateParticipant { app: String, }, UpdateParticipant { app: String, participant: String, }, DeleteParticipant { app: String, participant: String, }, GetParticipants { app: String, }, CreateWaitset { app: String, }, GetWaitset { app: String, waitset: String, }, CreateTopic { app: String, participant: String, }, CreatePublisher { app: String, participant: String, }, CreateSubscriber { app: String, participant: String, }, DataWriterWrite { app: String, participant: String, publisher: String, data_writer: String, }, DataReaderRead { app: String, participant: String, subscriber: String, data_reader: String, }, Unknown { path: String, },
}
Expand description

Spec §8.3.3 Tab 5 — alle WebDDS-Operations als parametrisierte Routen.

Variants§

§

CreateApplication

POST /applications/ — Root::create_application.

§

DeleteApplication

DELETE /applications/<appname> — Root::delete_application.

Fields

§app: String

Application-Name.

§

GetApplications

GET /applications — Root::get_applications.

§

CreateType

POST /types — Root::create_type.

§

DeleteType

DELETE /types/<typename> — Root::delete_type.

Fields

§type_name: String

Type-Name.

§

GetTypes

GET /types — Root::get_types.

§

CreateQosLibrary

POST /qos_libraries — Root::create_qos_library.

§

UpdateQosLibrary

PUT /qos_libraries/<qosLibName> — Root::update_qos_library.

Fields

§qos_lib: String

QosLibrary-Name.

§

DeleteQosLibrary

DELETE /qos_libraries/<qosLibName> — Root::delete_qos_library.

Fields

§qos_lib: String

QosLibrary-Name.

§

GetQosLibraries

GET /qos_libraries — Root::get_qos_libraries.

§

CreateQosProfile

POST /qos_libraries/<qosLibName>/qos_profiles — QosLibrary::create_qos_profile.

Fields

§qos_lib: String

QosLibrary-Name.

§

UpdateQosProfile

PUT /qos_libraries/<qosLibName>/qos_profiles/<qosProfileName> — QosLibrary::update_qos_profile.

Fields

§qos_lib: String

QosLibrary-Name.

§profile: String

QosProfile-Name.

§

DeleteQosProfile

DELETE /qos_libraries/<qosLibName>/qos_profiles/<qosProfileName> — QosLibrary::delete_qos_profile.

Fields

§qos_lib: String

QosLibrary-Name.

§profile: String

QosProfile-Name.

§

GetQosProfiles

GET /qos_libraries/<qosLibName>/qos_profiles — QosLibrary::get_qos_profiles.

Fields

§qos_lib: String

QosLibrary-Name.

§

CreateParticipant

POST /applications/<appname>/domain_participants — Application::create_participant.

Fields

§app: String

Application-Name.

§

UpdateParticipant

PUT /applications/<appname>/domain_participants/<partname> — Application::update_participant.

Fields

§app: String

Application-Name.

§participant: String

Participant-Name.

§

DeleteParticipant

DELETE /applications/<appname>/domain_participants/<partname> — Application::delete_participant.

Fields

§app: String

Application-Name.

§participant: String

Participant-Name.

§

GetParticipants

GET /applications/<appname>/domain_participants — Application::get_participants.

Fields

§app: String

Application-Name.

§

CreateWaitset

POST /applications/<appname>/waitsets — Application::create_waitset.

Fields

§app: String

Application-Name.

§

GetWaitset

GET /applications/<appname>/waitsets/<waitsetname> — Waitset::get.

Fields

§app: String

Application-Name.

§waitset: String

Waitset-Name.

§

CreateTopic

POST /applications/<a>/domain_participants/<p>/topics/ — Participant::create_topic.

Fields

§app: String

Application-Name.

§participant: String

Participant-Name.

§

CreatePublisher

POST /applications/<a>/domain_participants/<p>/publishers — Participant::create_publisher.

Fields

§app: String

Application-Name.

§participant: String

Participant-Name.

§

CreateSubscriber

POST /applications/<a>/domain_participants/<p>/subscribers — Participant::create_subscriber.

Fields

§app: String

Application-Name.

§participant: String

Participant-Name.

§

DataWriterWrite

POST /applications/<a>/domain_participants/<p>/publishers/<pub>/data_writers/<dwname> — DataWriter::write.

Fields

§app: String

Application-Name.

§participant: String

Participant-Name.

§publisher: String

Publisher-Name.

§data_writer: String

DataWriter-Name.

§

DataReaderRead

GET /applications/<a>/domain_participants/<p>/subscribers/<sub>/data_readers/<drname> — DataReader::read.

Fields

§app: String

Application-Name.

§participant: String

Participant-Name.

§subscriber: String

Subscriber-Name.

§data_reader: String

DataReader-Name.

§

Unknown

Beliebige andere URI, die zu keinem Spec-Pattern matched.

Fields

§path: String

Original-Pfad ohne Prefix.

Trait Implementations§

Source§

impl Clone for RestRoute

Source§

fn clone(&self) -> RestRoute

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for RestRoute

Source§

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

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

impl PartialEq for RestRoute

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · 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 Eq for RestRoute

Source§

impl StructuralPartialEq for RestRoute

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

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.