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: u64
Implementations§
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.