Struct capnp::any_pointer::Pipeline
source · pub struct Pipeline {
pub hook: Box<dyn PipelineHook>,
/* private fields */
}
Fields
hook: Box<dyn PipelineHook>
Implementations
sourceimpl Pipeline
impl Pipeline
pub fn new(hook: Box<dyn PipelineHook>) -> Self
pub fn noop(&self) -> Self
pub fn get_pointer_field(&self, pointer_index: u16) -> Self
pub fn as_cap(&self) -> Box<dyn ClientHook>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Pipeline
impl !Send for Pipeline
impl !Sync for Pipeline
impl Unpin for Pipeline
impl !UnwindSafe for Pipeline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more