pub struct ExposeResolver {
pub source: Option<Ref>,
pub source_name: Option<String>,
pub target: Option<Ref>,
pub target_name: Option<String>,
pub source_dictionary: Option<String>,
}
Expand description
Declares a resolver exposed to a component’s containing realm, such as a resolver exposed by the component or one of its children at runtime.
Fields§
§source: Option<Ref>
§source_name: Option<String>
§target: Option<Ref>
§target_name: Option<String>
§source_dictionary: Option<String>
Trait Implementations§
Source§impl Clone for ExposeResolver
impl Clone for ExposeResolver
Source§fn clone(&self) -> ExposeResolver
fn clone(&self) -> ExposeResolver
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExposeResolver
impl Debug for ExposeResolver
Source§impl Encodable for ExposeResolver
impl Encodable for ExposeResolver
Source§type Encoded = WireExposeResolver
type Encoded = WireExposeResolver
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<___E> Encode<___E> for ExposeResolverwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for ExposeResolverwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireExposeResolver> for ExposeResolver
impl TakeFrom<WireExposeResolver> for ExposeResolver
Source§fn take_from(from: &WireExposeResolver) -> Self
fn take_from(from: &WireExposeResolver) -> 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 ExposeResolver
impl RefUnwindSafe for ExposeResolver
impl Send for ExposeResolver
impl Sync for ExposeResolver
impl Unpin for ExposeResolver
impl UnwindSafe for ExposeResolver
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