pub struct BlobInfo {
pub blob_id: BlobId,
pub length: u64,
}Expand description
Convenience wrapper type for the autogenerated FIDL BlobInfo.
Fields§
§blob_id: BlobId§length: u64Implementations§
Trait Implementations§
Source§impl Arbitrary for BlobInfo
impl Arbitrary for BlobInfo
Source§type Parameters = (<BlobId as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters)
type Parameters = (<BlobId as Arbitrary>::Parameters, <u64 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<(<BlobId as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy), fn((BlobId, u64)) -> BlobInfo>
type Strategy = Map<(<BlobId as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy), fn((BlobId, u64)) -> BlobInfo>
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 Ord for BlobInfo
impl Ord for BlobInfo
Source§impl PartialOrd for BlobInfo
impl PartialOrd for BlobInfo
impl Copy for BlobInfo
impl Eq for BlobInfo
impl StructuralPartialEq for BlobInfo
Auto Trait Implementations§
impl Freeze for BlobInfo
impl RefUnwindSafe for BlobInfo
impl Send for BlobInfo
impl Sync for BlobInfo
impl Unpin for BlobInfo
impl UnwindSafe for BlobInfo
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