[][src]Struct libfrugalos::schema::config::PutBucketRpc

pub struct PutBucketRpc;

バケツ登録RPC。

Trait Implementations

impl Debug for PutBucketRpc[src]

impl Call for PutBucketRpc[src]

type Req = Bucket

Request message.

type ReqDecoder = BincodeDecoder<Self::Req>

Request message decoder.

type ReqEncoder = BincodeEncoder<Self::Req>

Request message encoder.

type Res = Result<Bucket>

Response message.

type ResDecoder = BincodeDecoder<Self::Res>

Response message decoder.

type ResEncoder = BincodeEncoder<Self::Res>

Response message encoder.

fn enable_async_request(request: &Self::Req) -> bool[src]

If it returns true, encoding/decoding request messages will be executed asynchronously. Read more

fn enable_async_response(response: &Self::Res) -> bool[src]

If it returns true, encoding/decoding response messages will be executed asynchronously. Read more

fn client(service: &ClientServiceHandle) -> CallClient<Self> where
    Self::ReqEncoder: Default,
    Self::ResDecoder: Default
[src]

Makes a new RPC client.

fn client_with_decoder(
    service: &ClientServiceHandle,
    decoder: Self::ResDecoder
) -> CallClient<Self> where
    Self::ReqEncoder: Default
[src]

Makes a new RPC client with the given decoder maker.

fn client_with_encoder(
    service: &ClientServiceHandle,
    encoder: Self::ReqEncoder
) -> CallClient<Self> where
    Self::ResDecoder: Default
[src]

Makes a new RPC client with the given encoder maker.

fn client_with_codec(
    service: &ClientServiceHandle,
    decoder: Self::ResDecoder,
    encoder: Self::ReqEncoder
) -> CallClient<Self>
[src]

Makes a new RPC client with the given decoder and encoder makers.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized