Trait capnp_rpc::SetTarget

source ·
pub trait SetTarget<C> {
    // Required methods
    fn add_ref(&self) -> Box<dyn SetTarget<C>>;
    fn set_target(&self, target: C);
}

Required Methods§

source

fn add_ref(&self) -> Box<dyn SetTarget<C>>

source

fn set_target(&self, target: C)

Trait Implementations§

source§

impl<C> Clone for Box<dyn SetTarget<C>>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§