Struct redox_scheme::CallRequest
source · pub struct CallRequest<V: Version = V2> { /* private fields */ }
Implementations§
source§impl CallRequest<Legacy>
impl CallRequest<Legacy>
pub fn handle_scheme(self, scheme: &impl Scheme) -> Response<Legacy>
pub fn handle_scheme_mut(self, scheme: &mut impl SchemeMut) -> Response<Legacy>
pub fn handle_scheme_block( self, scheme: &mut impl SchemeBlock, ) -> Result<Response<Legacy>, Self>
pub fn handle_scheme_block_mut( self, scheme: &mut impl SchemeBlockMut, ) -> Result<Response<Legacy>, Self>
source§impl CallRequest<V2>
impl CallRequest<V2>
pub fn handle_scheme_mut(self, scheme: &mut impl SchemeMut) -> Response<V2>
pub fn handle_scheme_block_mut( self, scheme: &mut impl SchemeBlockMut, ) -> Option<Response<V2>>
Trait Implementations§
source§impl<V: Clone + Version> Clone for CallRequest<V>
impl<V: Clone + Version> Clone for CallRequest<V>
source§fn clone(&self) -> CallRequest<V>
fn clone(&self) -> CallRequest<V>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<V: Copy + Version> Copy for CallRequest<V>
Auto Trait Implementations§
impl<V> Freeze for CallRequest<V>where
<V as Impl>::RawSqe: Freeze,
impl<V> RefUnwindSafe for CallRequest<V>where
<V as Impl>::RawSqe: RefUnwindSafe,
impl<V> Send for CallRequest<V>where
<V as Impl>::RawSqe: Send,
impl<V> Sync for CallRequest<V>where
<V as Impl>::RawSqe: Sync,
impl<V> Unpin for CallRequest<V>where
<V as Impl>::RawSqe: Unpin,
impl<V> UnwindSafe for CallRequest<V>where
<V as Impl>::RawSqe: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)