pub struct LauncherExplorePackageOverSocket2Request {
pub fuchsia_pkg_resolver: FuchsiaPkgResolver,
pub url: String,
pub subpackages: Vec<String>,
pub socket: Socket,
pub tool_urls: Vec<String>,
pub command: Option<String>,
}
Fields§
§fuchsia_pkg_resolver: FuchsiaPkgResolver
The package resolver to use when resolving package URLs (both url
and tool_urls
)
that have the fuchsia-pkg
scheme.
url: String
The absolute package URL to resolve.
If subpackages
is empty the resolved package directory will be loaded into the dash
namespace at /pkg
.
If subpackages
is not empty, the package directory of the final subpackage of url
will be loaded into the namespace at /pkg
.
subpackages: Vec<String>
The chain of subpackages, if any, of url
to resolve, in resolution order.
If subpackages
is not empty, the package directory of the final subpackage will be
loaded into the dash namespace at /pkg
.
socket: Socket
The raw socket to connect to the dash process
tool_urls: Vec<String>
A list of package URLs whose directories will also be loaded into the dash namespace. The path preference is determined by the order of this vector.
command: Option<String>
An optional inline command to run.
Trait Implementations§
Source§impl Decode<LauncherExplorePackageOverSocket2Request, DefaultFuchsiaResourceDialect> for LauncherExplorePackageOverSocket2Request
impl Decode<LauncherExplorePackageOverSocket2Request, DefaultFuchsiaResourceDialect> for LauncherExplorePackageOverSocket2Request
Source§impl Encode<LauncherExplorePackageOverSocket2Request, DefaultFuchsiaResourceDialect> for &mut LauncherExplorePackageOverSocket2Request
impl Encode<LauncherExplorePackageOverSocket2Request, DefaultFuchsiaResourceDialect> for &mut LauncherExplorePackageOverSocket2Request
Source§impl<T0: Encode<FuchsiaPkgResolver, DefaultFuchsiaResourceDialect>, T1: Encode<UnboundedString, DefaultFuchsiaResourceDialect>, T2: Encode<UnboundedVector<UnboundedString>, DefaultFuchsiaResourceDialect>, T3: Encode<HandleType<Socket, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T4: Encode<Vector<BoundedString<4096>, 20>, DefaultFuchsiaResourceDialect>, T5: Encode<Optional<UnboundedString>, DefaultFuchsiaResourceDialect>> Encode<LauncherExplorePackageOverSocket2Request, DefaultFuchsiaResourceDialect> for (T0, T1, T2, T3, T4, T5)
impl<T0: Encode<FuchsiaPkgResolver, DefaultFuchsiaResourceDialect>, T1: Encode<UnboundedString, DefaultFuchsiaResourceDialect>, T2: Encode<UnboundedVector<UnboundedString>, DefaultFuchsiaResourceDialect>, T3: Encode<HandleType<Socket, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>, T4: Encode<Vector<BoundedString<4096>, 20>, DefaultFuchsiaResourceDialect>, T5: Encode<Optional<UnboundedString>, DefaultFuchsiaResourceDialect>> Encode<LauncherExplorePackageOverSocket2Request, DefaultFuchsiaResourceDialect> for (T0, T1, T2, T3, T4, T5)
Source§impl Ord for LauncherExplorePackageOverSocket2Request
impl Ord for LauncherExplorePackageOverSocket2Request
Source§fn cmp(&self, other: &LauncherExplorePackageOverSocket2Request) -> Ordering
fn cmp(&self, other: &LauncherExplorePackageOverSocket2Request) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for LauncherExplorePackageOverSocket2Request
impl PartialEq for LauncherExplorePackageOverSocket2Request
Source§fn eq(&self, other: &LauncherExplorePackageOverSocket2Request) -> bool
fn eq(&self, other: &LauncherExplorePackageOverSocket2Request) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for LauncherExplorePackageOverSocket2Request
impl PartialOrd for LauncherExplorePackageOverSocket2Request
Source§impl ResourceTypeMarker for LauncherExplorePackageOverSocket2Request
impl ResourceTypeMarker for LauncherExplorePackageOverSocket2Request
Source§type Borrowed<'a> = &'a mut LauncherExplorePackageOverSocket2Request
type Borrowed<'a> = &'a mut LauncherExplorePackageOverSocket2Request
Encode<Self>
type cheaply obtainable from &mut Self::Owned
. There are three cases: Read moreSource§fn take_or_borrow<'a>(
value: &'a mut <Self as TypeMarker>::Owned,
) -> Self::Borrowed<'a>
fn take_or_borrow<'a>( value: &'a mut <Self as TypeMarker>::Owned, ) -> Self::Borrowed<'a>
&mut Self::Owned
to Self::Borrowed
. For
HandleBased
types this is “take” (it returns an owned handle and
replaces value
with Handle::invalid
), and for all other types it is
“borrow” (just converts from one reference to another).Source§impl TypeMarker for LauncherExplorePackageOverSocket2Request
impl TypeMarker for LauncherExplorePackageOverSocket2Request
Source§type Owned = LauncherExplorePackageOverSocket2Request
type Owned = LauncherExplorePackageOverSocket2Request
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.