import

Function import 

Source
pub async fn import<R>(
    addr: &str,
    data: R,
) -> Result<Bytes, Box<dyn Error + Send + Sync>>
where R: AsyncRead + Unpin + Send + 'static,