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 more