pub enum BlobCreatorRequest {
Create {
hash: [u8; 32],
allow_existing: bool,
responder: BlobCreatorCreateResponder,
},
}
Variants§
Create
Creates a blob with the merkle root hash
. If allow_existing
is true, the server will
overwrite the existing blob if there is one. The client will truncate the blob with
[BlobWriter.GetVmo] and get a handle to a vmo in return. The client will then write blob
contents into the vmo and call [BlobWriter.BytesReady] on the ’writer` to signal to the
server that some number of bytes has been written to the vmo.
Implementations§
Source§impl BlobCreatorRequest
impl BlobCreatorRequest
pub fn into_create(self) -> Option<([u8; 32], bool, BlobCreatorCreateResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlobCreatorRequest
impl !RefUnwindSafe for BlobCreatorRequest
impl Send for BlobCreatorRequest
impl Sync for BlobCreatorRequest
impl Unpin for BlobCreatorRequest
impl !UnwindSafe for BlobCreatorRequest
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