pub(crate) async fn pause(&self) -> Result<(), Error> {
        if let Some(Protocol::Nvmf) = self.shared() {
            if let Some(subsystem) = NvmfSubsystem::nqn_lookup(&self.name) {
                subsystem.pause().await.unwrap();
            }
        }

        Ok(())
    }
/// suspend any incoming IO to the bdev pausing the controller allows us to
/// handle internal events and which is a protocol feature.
suspend any incoming IO to the bdev pausing the controller allows us to
handle internal events and which is a protocol feature.
suspend any incoming IO to the bdev pausing the controller allows us to handle internal events and which is a protocol feature .
pub(crate) async fn pause(&self) -> Result<(), Error> {
        if let Some(Protocol::Nvmf) = self.shared() {
            if let Some(subsystem) = NvmfSubsystem::nqn_lookup(&self.name) {
                subsystem.pause().await.unwrap();
            }
        }
        Ok(())
    }
pub ( crate ) async fn pause ( & self ) -> Result < ( ) , Error > { if let Some ( Protocol :: Nvmf ) = self . shared ( ) { if let Some ( subsystem ) = NvmfSubsystem :: nqn_lookup ( & self . name ) { subsystem . pause ( ) . await . unwrap ( ) ; } } Ok ( ( ) ) }
suspend any incoming IO to the bdev pausing the controller allows us to
handle internal events and which is a protocol feature.
suspend any incoming IO to the bdev pausing the controller allows us to handle internal events and which is a protocol feature .
&self