pub async fn expect_get_attr(mut self, blob_size: u64) -> Self {
        match self.stream.next().await {
            Some(Ok(FileRequest::GetAttr { responder })) => {
                let mut attr = fidl_fuchsia_io::NodeAttributes::new_empty();
                attr.content_size = blob_size;
                responder.send(Status::OK.into_raw(), &mut attr).unwrap();
            }
            other => panic!("unexpected request: {:?}", other),
        }
        self
    }
/// Handle one get_attr request with the given blob size.
///
/// # Panics
///
/// Panics on error
Handle one get_attr request with the given blob size.
Handle one get_attr request with the given blob size .
pub async fn expect_get_attr(mut self, blob_size: u64) -> Self {
        match self.stream.next().await {
            Some(Ok(FileRequest::GetAttr { responder })) => {
                let mut attr = fidl_fuchsia_io::NodeAttributes::new_empty();
                attr.content_size = blob_size;
                responder.send(Status::OK.into_raw(), &mut attr).unwrap();
            }
            other => panic!("unexpected request: {:?}", other),
        }
        self
    }
pub async fn expect_get_attr ( mut self , blob_size : u64 ) -> Self { match self . stream . next ( ) . await { Some ( Ok ( FileRequest :: GetAttr { responder } ) ) => { let mut attr = fidl_fuchsia_io :: NodeAttributes :: new_empty ( ) ; attr . content_size = blob_size ; responder . send ( Status :: OK . into_raw ( ) , & mut attr ) . unwrap ( ) ; } other => panic ! ( " " other ) , } self }
Handle one get_attr request with the given blob size.
Handle one get_attr request with the given blob size .
mut self
blob_size
u64
mut self
blob_size
u64
panics
Panics on error
Panics on error