pub struct InFlight {
pub header: MsgHeader,
pub data: Vec<u8>,
pub caps: Vec<OwnedCap>,
pub call: Option<Arc<CallSlot>>,
pub charge: InFlightCharge,
}Expand description
A message waiting in an endpoint queue.
Fields§
§header: MsgHeaderHeader with kind/label/flags/data_len and kernel-filled badge.
data: Vec<u8>Exactly header.data_len bytes.
caps: Vec<OwnedCap>Transferred capabilities.
call: Option<Arc<CallSlot>>Reply target when header.kind == MSG_KIND_CALL.
charge: InFlightChargeSender-silo quota (queued bytes + in-flight handles), released when the message leaves the queue or is destroyed (§12).
Auto Trait Implementations§
impl !RefUnwindSafe for InFlight
impl !UnwindSafe for InFlight
impl Forget for InFlight
impl Freeze for InFlight
impl Move for InFlight
impl Send for InFlight
impl Sync for InFlight
impl Unpin for InFlight
impl UnsafeUnpin for InFlight
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more