Enum async_rustbus::CallAction[][src]

pub enum CallAction {
    Drop,
    Queue,
    Exact,
    Intro,
    Nothing,
}
Expand description

For use with RpcConn::insert_call_path, this enum determines what should be done when receiving incoming method calls.

Variants

Drop

This action causes incoming calls to be dropped

Queue

This action causes incoming calls within the namespace to be stored, allowing them to be retreived later.

Exact

This action is the same as Queue but requires that call object path is an exact match, rather than also accepting child paths.

Intro

This action process Introspect calls for this path or children, allowing for clients to discover the objects paths provided by this connection. Any other calls received by this action will be replied to with an error.

Nothing

This action does nothing. The message is passed on to the parent to be handled by its action. This variant is primarily constructed by end users to nullify previously added actions.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.