pub struct Request<'a> {
pub cookie: u64,
pub data: &'a [u8],
pub descriptors: &'a [door_desc_t],
}
Expand description
Server-Side representation of the client’s door arguments
This type allows us to write server procedures that accept a single argument rather than five separate arguments.
Fields§
§data: &'a [u8]
§descriptors: &'a [door_desc_t]
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
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