pub struct HandleType(/* private fields */);
Expand description
We can’t link the fuchsia-runtime crate because it’s target side only, but we don’t really
need to – its HandleType is pretty much just a thin wrapper over u8
.
Trait Implementations§
Source§impl Clone for HandleType
impl Clone for HandleType
Source§fn clone(&self) -> HandleType
fn clone(&self) -> HandleType
Returns a duplicate 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 HandleType
impl Debug for HandleType
Source§impl<'de> Deserialize<'de> for HandleType
impl<'de> Deserialize<'de> for HandleType
Source§fn deserialize<D>(
deserializer: D,
) -> Result<HandleType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<HandleType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FidlIntoNative<HandleType> for u8
impl FidlIntoNative<HandleType> for u8
fn fidl_into_native(self) -> HandleType
Source§impl From<HandleType> for HandleType
impl From<HandleType> for HandleType
Source§fn from(h: HandleType) -> HandleType
fn from(h: HandleType) -> HandleType
Converts to this type from the input type.
Source§impl From<u8> for HandleType
impl From<u8> for HandleType
Source§fn from(h: u8) -> HandleType
fn from(h: u8) -> HandleType
Converts to this type from the input type.
Source§impl NativeIntoFidl<u8> for HandleType
impl NativeIntoFidl<u8> for HandleType
fn native_into_fidl(self) -> u8
Source§impl PartialEq for HandleType
impl PartialEq for HandleType
Source§impl Serialize for HandleType
impl Serialize for HandleType
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for HandleType
impl Eq for HandleType
impl StructuralPartialEq for HandleType
Auto Trait Implementations§
impl Freeze for HandleType
impl RefUnwindSafe for HandleType
impl Send for HandleType
impl Sync for HandleType
impl Unpin for HandleType
impl UnwindSafe for HandleType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more