pub struct Userboot;Expand description
The type corresponding to the Userboot protocol.
Protocol for communication between userboot and the process booted by userboot.
The userboot process will act as a client, pipelining requests containing information and/or handles that might be useful for the booted process. The booted process, or whoever processes the server endpoint of this protocol, will then process the pipelined requests from userboot.
TODO(https://fxbug.dev/354275371): Move handles not participating in the bootstrap process to this protocol.
Trait Implementations§
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Userbootwhere
___H: UserbootClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Userbootwhere
___H: UserbootClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Userbootwhere
___H: UserbootLocalClientHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Userbootwhere
___H: UserbootLocalClientHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Userbootwhere
___H: UserbootLocalServerHandler<___T>,
___T: Transport,
for<'de> UserbootPostBootfsFilesRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> UserbootPostStashSvcRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Userbootwhere
___H: UserbootLocalServerHandler<___T>,
___T: Transport,
for<'de> UserbootPostBootfsFilesRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> UserbootPostStashSvcRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Userbootwhere
___H: UserbootServerHandler<___T> + Send,
___T: Transport,
for<'de> UserbootPostBootfsFilesRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> UserbootPostStashSvcRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Userbootwhere
___H: UserbootServerHandler<___T> + Send,
___T: Transport,
for<'de> UserbootPostBootfsFilesRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> UserbootPostStashSvcRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl StructuralPartialEq for Userboot
Auto Trait Implementations§
impl Freeze for Userboot
impl RefUnwindSafe for Userboot
impl Send for Userboot
impl Sync for Userboot
impl Unpin for Userboot
impl UnsafeUnpin for Userboot
impl UnwindSafe for Userboot
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<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]