[][src]Struct capnp::capability::Params

pub struct Params<T> {
    pub marker: PhantomData<T>,
    pub hook: Box<dyn ParamsHook>,
}

The values of the parameters passed to a method call, as seen by the server.

Fields

marker: PhantomData<T>hook: Box<dyn ParamsHook>

Methods

impl<T> Params<T>[src]

pub fn new(hook: Box<dyn ParamsHook>) -> Params<T>[src]

pub fn get<'a>(&'a self) -> Result<<T as Owned<'a>>::Reader> where
    T: Owned<'a>, 
[src]

Auto Trait Implementations

impl<T> !Send for Params<T>

impl<T> !Sync for Params<T>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.