fidl_fuchsia_sysmem

Trait NodeProxyInterface

Source
pub trait NodeProxyInterface: Send + Sync {
    type SyncResponseFut: Future<Output = Result<(), Error>> + Send;
    type GetNodeRefResponseFut: Future<Output = Result<Event, Error>> + Send;
    type IsAlternateForResponseFut: Future<Output = Result<NodeIsAlternateForResult, Error>> + Send;

    // Required methods
    fn sync(&self) -> Self::SyncResponseFut;
    fn close(&self) -> Result<(), Error>;
    fn set_name(&self, priority: u32, name: &str) -> Result<(), Error>;
    fn set_debug_client_info(&self, name: &str, id: u64) -> Result<(), Error>;
    fn set_debug_timeout_log_deadline(&self, deadline: i64) -> Result<(), Error>;
    fn set_verbose_logging(&self) -> Result<(), Error>;
    fn get_node_ref(&self) -> Self::GetNodeRefResponseFut;
    fn is_alternate_for(
        &self,
        node_ref: Event,
    ) -> Self::IsAlternateForResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn sync(&self) -> Self::SyncResponseFut

Source

fn close(&self) -> Result<(), Error>

Source

fn set_name(&self, priority: u32, name: &str) -> Result<(), Error>

Source

fn set_debug_client_info(&self, name: &str, id: u64) -> Result<(), Error>

Source

fn set_debug_timeout_log_deadline(&self, deadline: i64) -> Result<(), Error>

Source

fn set_verbose_logging(&self) -> Result<(), Error>

Source

fn get_node_ref(&self) -> Self::GetNodeRefResponseFut

Source

fn is_alternate_for(&self, node_ref: Event) -> Self::IsAlternateForResponseFut

Implementors§

Source§

impl NodeProxyInterface for NodeProxy

Source§

type SyncResponseFut = QueryResponseFut<()>

Source§

type GetNodeRefResponseFut = QueryResponseFut<Event>

Source§

type IsAlternateForResponseFut = QueryResponseFut<Result<bool, i32>>