[−][src]Struct exonum_api::backends::actix::ApiBuilder
API builder for the actix-web
backend.
Methods
impl ApiBuilder
[src]
Trait Implementations
impl ApiBackend for ApiBuilder
[src]
type Handler = RequestHandler
Concrete endpoint handler in the backend.
type Backend = Scope
Concrete backend API builder.
fn raw_handler(&mut self, handler: Self::Handler) -> &mut Self
[src]
fn wire(&self, output: Self::Backend) -> Self::Backend
[src]
fn endpoint<Q, I, R, F, E>(&mut self, name: &str, endpoint: E) -> &mut Self where
Q: DeserializeOwned + 'static,
I: Serialize + 'static,
F: Fn(Q) -> R + 'static + Clone,
E: Into<With<Q, I, R, F>>,
Self::Handler: From<NamedWith<Q, I, R, F>>,
[src]
Q: DeserializeOwned + 'static,
I: Serialize + 'static,
F: Fn(Q) -> R + 'static + Clone,
E: Into<With<Q, I, R, F>>,
Self::Handler: From<NamedWith<Q, I, R, F>>,
fn endpoint_mut<Q, I, R, F, E>(&mut self, name: &str, endpoint: E) -> &mut Self where
Q: DeserializeOwned + 'static,
I: Serialize + 'static,
F: Fn(Q) -> R + 'static + Clone,
E: Into<With<Q, I, R, F>>,
Self::Handler: From<NamedWith<Q, I, R, F>>,
[src]
Q: DeserializeOwned + 'static,
I: Serialize + 'static,
F: Fn(Q) -> R + 'static + Clone,
E: Into<With<Q, I, R, F>>,
Self::Handler: From<NamedWith<Q, I, R, F>>,
impl Clone for ApiBuilder
[src]
fn clone(&self) -> ApiBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ApiBuilder
[src]
impl Default for ApiBuilder
[src]
fn default() -> ApiBuilder
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ApiBuilder
impl Send for ApiBuilder
impl Sync for ApiBuilder
impl Unpin for ApiBuilder
impl !UnwindSafe for ApiBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,