pub struct Resolver {
pub name: Option<String>,
pub source_path: Option<String>,
}
Expand description
Declares a resolver which is responsible for resolving component URLs to
actual components. See fuchsia.component.resolution.Resolver
for the
protocol resolvers are expected to implement.
Fields§
§name: Option<String>
§source_path: Option<String>
Trait Implementations§
Source§impl Encodable for Resolver
impl Encodable for Resolver
Source§type Encoded = WireResolver
type Encoded = WireResolver
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl TakeFrom<WireResolver> for Resolver
impl TakeFrom<WireResolver> for Resolver
Source§fn take_from(from: &WireResolver) -> Self
fn take_from(from: &WireResolver) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for Resolver
impl RefUnwindSafe for Resolver
impl Send for Resolver
impl Sync for Resolver
impl Unpin for Resolver
impl UnwindSafe for Resolver
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