pub struct MainReceiver { /* private fields */ }Implementations§
Source§impl MainReceiver
impl MainReceiver
Sourcepub fn wait_for_intermediate_ready(&mut self) -> Result<Pid, ChannelError>
pub fn wait_for_intermediate_ready(&mut self) -> Result<Pid, ChannelError>
Waits for associated intermediate process to send ready message and return the pid of init process which is forked by intermediate process
pub fn wait_for_mapping_request(&mut self) -> Result<(), ChannelError>
pub fn wait_for_seccomp_request(&mut self) -> Result<i32, ChannelError>
pub fn wait_for_network_setup_ready(&mut self) -> Result<(), ChannelError>
Sourcepub fn wait_for_init_ready(&mut self) -> Result<(), ChannelError>
pub fn wait_for_init_ready(&mut self) -> Result<(), ChannelError>
Waits for associated init process to send ready message and return the pid of init process which is forked by init process
pub fn wait_for_hook_request(&mut self) -> Result<(), ChannelError>
pub fn close(&self) -> Result<(), ChannelError>
Auto Trait Implementations§
impl Freeze for MainReceiver
impl RefUnwindSafe for MainReceiver
impl Send for MainReceiver
impl Sync for MainReceiver
impl Unpin for MainReceiver
impl UnsafeUnpin for MainReceiver
impl UnwindSafe for MainReceiver
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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