Enum async_rustbus::CallAction
source · 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§
source§impl Clone for CallAction
impl Clone for CallAction
source§fn clone(&self) -> CallAction
fn clone(&self) -> CallAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CallAction
impl Debug for CallAction
source§impl PartialEq<CallAction> for CallAction
impl PartialEq<CallAction> for CallAction
source§fn eq(&self, other: &CallAction) -> bool
fn eq(&self, other: &CallAction) -> bool
self
and other
values to be equal, and is used
by ==
.