Struct capnp::capability::Results [−][src]
pub struct Results<T> { pub marker: PhantomData<T>, pub hook: Box<ResultsHook>, }
The return values of a method, written in-place by the method body.
Fields
marker: PhantomData<T>
hook: Box<ResultsHook>
Methods
impl<T> Results<T> where
T: for<'a> Owned<'a>,
[src]
impl<T> Results<T> where
T: for<'a> Owned<'a>,
pub fn new(hook: Box<ResultsHook>) -> Results<T>
[src]
pub fn new(hook: Box<ResultsHook>) -> Results<T>
pub fn get<'a>(&'a mut self) -> <T as Owned<'a>>::Builder
[src]
pub fn get<'a>(&'a mut self) -> <T as Owned<'a>>::Builder
pub fn set(&mut self, other: <T as Owned>::Reader) -> Result<()>
[src]
pub fn set(&mut self, other: <T as Owned>::Reader) -> Result<()>