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

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>

Implementations

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> !RefUnwindSafe for Params<T>

impl<T> !Send for Params<T>

impl<T> !Sync for Params<T>

impl<T> Unpin for Params<T> where
    T: Unpin

impl<T> !UnwindSafe for Params<T>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.