[][src]Trait wayk_proto::sm::client_channels::clipboard::ClipboardChannelCallbackTrait

pub trait ClipboardChannelCallbackTrait {
    fn on_control_rsp<'msg>(
        &mut self,
        msg: &NowClipboardControlRspMsg
    ) -> VirtChannelSMResult<'msg> { ... }
fn on_resume_req(&mut self, msg: &NowClipboardResumeReqMsg) -> bool { ... }
fn on_resume_rsp<'msg>(
        &mut self,
        msg: &NowClipboardResumeRspMsg
    ) -> VirtChannelSMResult<'msg> { ... }
fn on_suspend_req(&mut self, msg: &NowClipboardSuspendReqMsg) -> bool { ... }
fn on_suspend_rsp<'msg>(
        &mut self,
        msg: &NowClipboardSuspendRspMsg
    ) -> VirtChannelSMResult<'msg> { ... }
fn on_format_list_req(&mut self, msg: &NowClipboardFormatListReqMsg) -> bool { ... }
fn on_format_list_rsp<'msg>(
        &mut self,
        msg: &NowClipboardFormatListRspMsg
    ) -> VirtChannelSMResult<'msg> { ... }
fn on_format_data_req<'msg>(
        &mut self,
        msg: &NowClipboardFormatDataReqMsg
    ) -> VirtChannelSMResult<'msg> { ... }
fn on_format_data_rsp<'msg>(
        &mut self,
        msg: &NowClipboardFormatDataRspMsg
    ) -> VirtChannelSMResult<'msg> { ... }
fn auto_fetch_data<'msg>(&mut self) -> VirtChannelSMResult<'msg> { ... } }

Provided methods

fn on_control_rsp<'msg>(
    &mut self,
    msg: &NowClipboardControlRspMsg
) -> VirtChannelSMResult<'msg>

fn on_resume_req(&mut self, msg: &NowClipboardResumeReqMsg) -> bool

return true to accept resume request

fn on_resume_rsp<'msg>(
    &mut self,
    msg: &NowClipboardResumeRspMsg
) -> VirtChannelSMResult<'msg>

fn on_suspend_req(&mut self, msg: &NowClipboardSuspendReqMsg) -> bool

return true to accept suspend request

fn on_suspend_rsp<'msg>(
    &mut self,
    msg: &NowClipboardSuspendRspMsg
) -> VirtChannelSMResult<'msg>

fn on_format_list_req(&mut self, msg: &NowClipboardFormatListReqMsg) -> bool

return true to transfer ownership to peer and false to refuse

fn on_format_list_rsp<'msg>(
    &mut self,
    msg: &NowClipboardFormatListRspMsg
) -> VirtChannelSMResult<'msg>

fn on_format_data_req<'msg>(
    &mut self,
    msg: &NowClipboardFormatDataReqMsg
) -> VirtChannelSMResult<'msg>

fn on_format_data_rsp<'msg>(
    &mut self,
    msg: &NowClipboardFormatDataRspMsg
) -> VirtChannelSMResult<'msg>

fn auto_fetch_data<'msg>(&mut self) -> VirtChannelSMResult<'msg>

Loading content...

Implementors

impl ClipboardChannelCallbackTrait for DummyClipboardChannelCallback[src]

Loading content...