pub enum PayloadStreamRequest {
RegisterVmo {
vmo: Vmo,
responder: PayloadStreamRegisterVmoResponder,
},
ReadData {
responder: PayloadStreamReadDataResponder,
},
}
Expand description
Protocol for streaming the FVM payload.
Variants§
RegisterVmo
Registers a VMO to stream into.
This can be called once per PayloadStream. Any subsequent calls will return ZX_ERR_ALREADY_BOUND.
ReadData
Reads data into the pre-registered vmo.
Fields
§
responder: PayloadStreamReadDataResponder
Implementations§
Source§impl PayloadStreamRequest
impl PayloadStreamRequest
pub fn into_register_vmo( self, ) -> Option<(Vmo, PayloadStreamRegisterVmoResponder)>
pub fn into_read_data(self) -> Option<PayloadStreamReadDataResponder>
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 PayloadStreamRequest
impl !RefUnwindSafe for PayloadStreamRequest
impl Send for PayloadStreamRequest
impl Sync for PayloadStreamRequest
impl Unpin for PayloadStreamRequest
impl !UnwindSafe for PayloadStreamRequest
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