Fields
sockfd: c_int
addr: Option<T>
flags: c_int
Trait Implementations
sourceimpl<'a, T: Into<SockaddrOutput<'a>>> Alloc<'a> for Accept4<T>
impl<'a, T: Into<SockaddrOutput<'a>>> Alloc<'a> for Accept4<T>
type Staged = Option<StagedSockaddrOutput<'a>>
type Staged = Option<StagedSockaddrOutput<'a>>
Opaque staged value, which returns Self::Committed
when committed via Commit::commit
. Read more
type Committed = Option<CommittedSockaddrOutput<'a>>
type Committed = Option<CommittedSockaddrOutput<'a>>
Opaque committed value
returned by guest::alloc::Commit::commit
called upon Self::Staged
, which returns Self::Collected
when
collected via guest::alloc::Collect::collect
. Read more
type Collected = Result<i32, i32>
type Collected = Result<i32, i32>
Value syscall collects as, which corresponds to its return value. Read more
sourcefn stage(self, alloc: &mut impl Allocator) -> Result<(Self::Argv, Self::Staged)>
fn stage(self, alloc: &mut impl Allocator) -> Result<(Self::Argv, Self::Staged)>
Allocate dynamic data, if necessary and return resulting argument vector registers and opaque staged value on success. Read more
sourcefn collect(
addr: Self::Committed,
ret: Result<Self::Ret>,
col: &impl Collector
) -> Self::Collected
fn collect(
addr: Self::Committed,
ret: Result<Self::Ret>,
col: &impl Collector
) -> Self::Collected
Collect the return registers, opaque committed value
and return a Self::Collected
. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Accept4<T> where
T: RefUnwindSafe,
impl<T> Send for Accept4<T> where
T: Send,
impl<T> Sync for Accept4<T> where
T: Sync,
impl<T> Unpin for Accept4<T> where
T: Unpin,
impl<T> UnwindSafe for Accept4<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, K, T> Call<'a, Alloc<K>> for T where
K: Kind,
T: Alloc<'a, K>,
impl<'a, K, T> Call<'a, Alloc<K>> for T where
K: Kind,
T: Alloc<'a, K>,
type Staged = StagedCall<'a, K, T>
type Staged = StagedCall<'a, K, T>
Opaque staged value, which returns Self::Committed
when committed via Commit::commit
. Read more
type Committed = CommittedCall<'a, K, T>
type Committed = CommittedCall<'a, K, T>
Opaque committed value returned by Commit::commit
called upon Self::Staged
,
which is, in turn, passed to Collect::collect
to yield a Self::Collected
. Read more