pub enum RpcClientConfig {
Direct {
cmd_ch_ptr: u32,
cmd_ch_size: usize,
rsp_ch_ptr: u32,
rsp_ch_size: usize,
},
FromTarget {
cmd_ch_ptr: u32,
rsp_ch_ptr: u32,
},
}Expand description
Configuration for creating an RPC Client.
Direct: Create channels with explicit sizesFromTarget: Create channels by reading sizes from target memory, normally used by Hosts.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RpcClientConfig
impl RefUnwindSafe for RpcClientConfig
impl Send for RpcClientConfig
impl Sync for RpcClientConfig
impl Unpin for RpcClientConfig
impl UnsafeUnpin for RpcClientConfig
impl UnwindSafe for RpcClientConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more