#[repr(C)]pub struct WireEnvironment { /* private fields */ }
Expand description
The wire type corresponding to Environment
.
Implementations§
Source§impl WireEnvironment
impl WireEnvironment
pub fn name(&self) -> Option<&WireString>
pub fn extends(&self) -> Option<&WireEnvironmentExtends>
pub fn runners(&self) -> Option<&WireVector<WireRunnerRegistration>>
pub fn resolvers(&self) -> Option<&WireVector<WireResolverRegistration>>
pub fn debug_capabilities(&self) -> Option<&WireVector<WireDebugRegistration>>
pub fn stop_timeout_ms(&self) -> Option<&WireU32>
Trait Implementations§
Source§impl Debug for WireEnvironment
impl Debug for WireEnvironment
Source§impl<___D> Decode<___D> for WireEnvironmentwhere
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireEnvironmentwhere
___D: Decoder + ?Sized,
Source§impl TakeFrom<WireEnvironment> for Environment
impl TakeFrom<WireEnvironment> for Environment
Source§fn take_from(from: &WireEnvironment) -> Self
fn take_from(from: &WireEnvironment) -> 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 moreSource§impl TakeFrom<WireEnvironment> for Environment
impl TakeFrom<WireEnvironment> for Environment
Source§fn take_from(from: &WireEnvironment) -> Self
fn take_from(from: &WireEnvironment) -> 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 moreSource§impl ZeroPadding for WireEnvironment
impl ZeroPadding for WireEnvironment
Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireEnvironment
impl RefUnwindSafe for WireEnvironment
impl !Send for WireEnvironment
impl !Sync for WireEnvironment
impl Unpin for WireEnvironment
impl UnwindSafe for WireEnvironment
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