pub struct BlobId(/* private fields */);Expand description
Convenience wrapper type for the autogenerated FIDL BlobId.
Implementations§
Trait Implementations§
Source§impl Arbitrary for BlobId
impl Arbitrary for BlobId
Source§type Parameters = <[u8; 32] as Arbitrary>::Parameters
type Parameters = <[u8; 32] as Arbitrary>::Parameters
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<<[u8; 32] as Arbitrary>::Strategy, fn([u8; 32]) -> BlobId>
type Strategy = Map<<[u8; 32] as Arbitrary>::Strategy, fn([u8; 32]) -> BlobId>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl<'de> Deserialize<'de> for BlobId
impl<'de> Deserialize<'de> for BlobId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<BlobId> for ResolutionContext
impl From<BlobId> for ResolutionContext
Source§impl From<GenericDigest<FuchsiaMerkleMarker>> for BlobId
impl From<GenericDigest<FuchsiaMerkleMarker>> for BlobId
Source§impl Ord for BlobId
impl Ord for BlobId
Source§impl PartialOrd for BlobId
impl PartialOrd for BlobId
impl Copy for BlobId
impl Eq for BlobId
impl StructuralPartialEq for BlobId
Auto Trait Implementations§
impl Freeze for BlobId
impl RefUnwindSafe for BlobId
impl Send for BlobId
impl Sync for BlobId
impl Unpin for BlobId
impl UnwindSafe for BlobId
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,
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<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