Skip to main content

VarlinkFingerClientProxy

Trait VarlinkFingerClientProxy 

Source
pub trait VarlinkFingerClientProxy {
    type Socket: Socket;

    // Required methods
    async fn finger(
        &mut self,
        user_queries: Option<Vec<String>>,
        match_fullnames: bool,
        request_info: FingerRequestInfo,
        request_networking: FingerRequestNetworking,
        disable_user_account_db: bool,
        raw_remote_output: bool,
    ) -> Result<Result<VarlinkFingerResponse, VarlinkFingerClientError>>;
    fn chain_finger<'c>(
        &'c mut self,
        user_queries: Option<Vec<String>>,
        match_fullnames: bool,
        request_info: FingerRequestInfo,
        request_networking: FingerRequestNetworking,
        disable_user_account_db: bool,
        raw_remote_output: bool,
    ) -> Result<Chain<'c, Self::Socket>>;
}

Required Associated Types§

Source

type Socket: Socket

The socket type used for the connection.

Required Methods§

Source

async fn finger( &mut self, user_queries: Option<Vec<String>>, match_fullnames: bool, request_info: FingerRequestInfo, request_networking: FingerRequestNetworking, disable_user_account_db: bool, raw_remote_output: bool, ) -> Result<Result<VarlinkFingerResponse, VarlinkFingerClientError>>

Source

fn chain_finger<'c>( &'c mut self, user_queries: Option<Vec<String>>, match_fullnames: bool, request_info: FingerRequestInfo, request_networking: FingerRequestNetworking, disable_user_account_db: bool, raw_remote_output: bool, ) -> Result<Chain<'c, Self::Socket>>

Start a chain with this method call.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<S> VarlinkFingerClientProxy for Connection<S>
where S: Socket,

Source§

type Socket = S

Source§

async fn finger( &mut self, user_queries: Option<Vec<String>>, match_fullnames: bool, request_info: FingerRequestInfo, request_networking: FingerRequestNetworking, disable_user_account_db: bool, raw_remote_output: bool, ) -> Result<Result<VarlinkFingerResponse, VarlinkFingerClientError>>

Source§

fn chain_finger<'c>( &'c mut self, user_queries: Option<Vec<String>>, match_fullnames: bool, request_info: FingerRequestInfo, request_networking: FingerRequestNetworking, disable_user_account_db: bool, raw_remote_output: bool, ) -> Result<Chain<'c, Self::Socket>>

Implementors§