#[repr(u32)]pub enum DeliveryType {
Immediate = 0,
OnReadable = 1,
UnknownOrdinal_(u32),
}
Expand description
DeliveryType
may be used when declaring a capability, and specifies under
what conditions the framework will open the capability from the provider
component’s outgoing directory when there is a request for this capability.
Variants§
Trait Implementations§
Source§impl Clone for DeliveryType
impl Clone for DeliveryType
Source§fn clone(&self) -> DeliveryType
fn clone(&self) -> DeliveryType
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 DeliveryType
impl Debug for DeliveryType
Source§impl Encodable for DeliveryType
impl Encodable for DeliveryType
Source§type Encoded = WireDeliveryType
type Encoded = WireDeliveryType
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 DeliveryTypewhere
___E: ?Sized,
impl<___E> Encode<___E> for DeliveryTypewhere
___E: ?Sized,
Source§impl From<DeliveryType> for WireDeliveryType
impl From<DeliveryType> for WireDeliveryType
Source§fn from(natural: DeliveryType) -> Self
fn from(natural: DeliveryType) -> Self
Converts to this type from the input type.
Source§impl From<WireDeliveryType> for DeliveryType
impl From<WireDeliveryType> for DeliveryType
Source§fn from(wire: WireDeliveryType) -> Self
fn from(wire: WireDeliveryType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeliveryType
impl PartialEq for DeliveryType
Source§impl TakeFrom<WireDeliveryType> for DeliveryType
impl TakeFrom<WireDeliveryType> for DeliveryType
Source§fn take_from(from: &WireDeliveryType) -> Self
fn take_from(from: &WireDeliveryType) -> 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 moreimpl Copy for DeliveryType
impl Eq for DeliveryType
impl StructuralPartialEq for DeliveryType
Auto Trait Implementations§
impl Freeze for DeliveryType
impl RefUnwindSafe for DeliveryType
impl Send for DeliveryType
impl Sync for DeliveryType
impl Unpin for DeliveryType
impl UnwindSafe for DeliveryType
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