[][src]Trait ftml::handle::RemoteHandle

pub trait RemoteHandle {
    fn get_user_by_name(&self, name: &str) -> RemoteResult<Option<User>>;
fn get_user_by_id(&self, id: u64) -> RemoteResult<Option<User>>;
fn get_page(
        &self,
        name: &str,
        args: &HashMap<&str, &str>
    ) -> RemoteResult<Option<Cow<'static, str>>>; }

Required methods

fn get_user_by_name(&self, name: &str) -> RemoteResult<Option<User>>

fn get_user_by_id(&self, id: u64) -> RemoteResult<Option<User>>

fn get_page(
    &self,
    name: &str,
    args: &HashMap<&str, &str>
) -> RemoteResult<Option<Cow<'static, str>>>

Loading content...

Implementors

impl RemoteHandle for NullHandle[src]

impl RemoteHandle for TestHandle[src]

Loading content...