pub enum Io1HarnessRequest {
GetConfig {
responder: Io1HarnessGetConfigResponder,
},
GetDirectory {
root: Directory,
flags: OpenFlags,
directory_request: ServerEnd<DirectoryMarker>,
control_handle: Io1HarnessControlHandle,
},
}
Variants§
GetConfig
Returns the list of properties of the filesystem.
Fields
§
responder: Io1HarnessGetConfigResponder
GetDirectory
Serves a directory with the given contents.
root
describes the initial layout of the filesystem that will be
used for the test case. The root directory that is served (returned via
directory_request
) will have the equivalent contents, served with the
given flags
.
Implementations§
source§impl Io1HarnessRequest
impl Io1HarnessRequest
pub fn into_get_config(self) -> Option<Io1HarnessGetConfigResponder>
pub fn into_get_directory( self ) -> Option<(Directory, OpenFlags, ServerEnd<DirectoryMarker>, Io1HarnessControlHandle)>
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 Io1HarnessRequest
impl !RefUnwindSafe for Io1HarnessRequest
impl Send for Io1HarnessRequest
impl Sync for Io1HarnessRequest
impl Unpin for Io1HarnessRequest
impl !UnwindSafe for Io1HarnessRequest
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