pub struct EventStream {
pub name: Option<String>,
}
Expand description
Declares an event_stream capability
This type cannot be used in fuchsia.component.decl.Component
. It is only
used for the framework’s built-in capabilities declared in
internal.Config
.
Fields§
§name: Option<String>
Trait Implementations§
Source§impl Clone for EventStream
impl Clone for EventStream
Source§fn clone(&self) -> EventStream
fn clone(&self) -> EventStream
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 EventStream
impl Debug for EventStream
Source§impl Encodable for EventStream
impl Encodable for EventStream
Source§type Encoded = WireEventStream
type Encoded = WireEventStream
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 EventStreamwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for EventStreamwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireEventStream> for EventStream
impl TakeFrom<WireEventStream> for EventStream
Source§fn take_from(from: &WireEventStream) -> Self
fn take_from(from: &WireEventStream) -> 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 EventStream
impl RefUnwindSafe for EventStream
impl Send for EventStream
impl Sync for EventStream
impl Unpin for EventStream
impl UnwindSafe for EventStream
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