pub struct EventPair(/* private fields */);
Expand description
An event pair handle in a remote FDomain.
Trait Implementations§
Source§impl AsHandleRef for Eventpair
impl AsHandleRef for Eventpair
Source§impl Encodable for EventPair
impl Encodable for EventPair
Source§type Encoded = WireHandle
type Encoded = WireHandle
The wire type for the value.
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§impl EncodableAsHandle for EventPair
impl EncodableAsHandle for EventPair
Source§type Dialect = FDomainResourceDialect
type Dialect = FDomainResourceDialect
What resource dialect can encode this object as a handle.
Source§impl EncodableOption for EventPair
impl EncodableOption for EventPair
Source§type EncodedOption = WireOptionalHandle
type EncodedOption = WireOptionalHandle
The wire type for the optional value.
Source§impl<E: HandleEncoder + ?Sized> Encode<E> for EventPair
impl<E: HandleEncoder + ?Sized> Encode<E> for EventPair
Source§fn encode(
self,
encoder: &mut E,
out: &mut MaybeUninit<Self::Encoded>,
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut E, out: &mut MaybeUninit<Self::Encoded>, ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<E: HandleEncoder + ?Sized> EncodeOption<E> for EventPair
impl<E: HandleEncoder + ?Sized> EncodeOption<E> for EventPair
Source§fn encode_option(
this: Option<Self>,
encoder: &mut E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<WireHandle> for EventPair
impl FromWire<WireHandle> for EventPair
Source§fn from_wire(wire: WireHandle) -> Self
fn from_wire(wire: WireHandle) -> Self
Converts the given
wire
to this type.Source§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireOption<WireOptionalHandle> for EventPair
impl FromWireOption<WireOptionalHandle> for EventPair
Source§fn from_wire_option(wire: WireOptionalHandle) -> Option<Self>
fn from_wire_option(wire: WireOptionalHandle) -> Option<Self>
Converts the given
wire
to an option of this type.Source§impl HandleBased for Eventpair
impl HandleBased for Eventpair
Source§fn close(self) -> impl Future<Output = Result<(), Error>>
fn close(self) -> impl Future<Output = Result<(), Error>>
Closes this handle. Surfaces errors that dropping the handle will not.
Source§fn duplicate_handle(
&self,
rights: Rights,
) -> impl Future<Output = Result<Self, Error>>
fn duplicate_handle( &self, rights: Rights, ) -> impl Future<Output = Result<Self, Error>>
Duplicate this handle.
Source§fn replace_handle(
self,
rights: Rights,
) -> impl Future<Output = Result<Self, Error>>
fn replace_handle( self, rights: Rights, ) -> impl Future<Output = Result<Self, Error>>
Replace this handle with an equivalent one with different rights.
Source§fn into_handle(self) -> Handle
fn into_handle(self) -> Handle
Convert this handle-based value into a pure
Handle
.Source§fn from_handle(handle: Handle) -> Self
fn from_handle(handle: Handle) -> Self
Construct a new handle-based value from a
Handle
.Source§fn into_handle_based<H: HandleBased>(self) -> H
fn into_handle_based<H: HandleBased>(self) -> H
Turn this handle-based value into one of a different type.
Source§fn from_handle_based<H: HandleBased>(h: H) -> Self
fn from_handle_based<H: HandleBased>(h: H) -> Self
Turn another handle-based type into this one.
Source§impl Ord for Eventpair
impl Ord for Eventpair
Source§impl PartialOrd for Eventpair
impl PartialOrd for Eventpair
impl Eq for Eventpair
impl StructuralPartialEq for Eventpair
Auto Trait Implementations§
impl Freeze for Eventpair
impl RefUnwindSafe for Eventpair
impl Send for Eventpair
impl Sync for Eventpair
impl Unpin for Eventpair
impl UnwindSafe for Eventpair
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
Source§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T
to [Self
]