fn share_uri(&self) -> Option<String> {
        match self.shared() {
            Some(Protocol::Nvmf) => nvmf::get_uri(self.name()),
            Some(Protocol::Iscsi) => iscsi::get_uri(Side::Nexus, self.name()),
            _ => Some(format!("bdev:///{}", self.name())),
        }
    }
/// return share URI for nvmf and iscsi (does "share path" not sound
/// better?)
return share URI for nvmf and iscsi (does "share path" not sound
better?)
return share URI for nvmf and iscsi ( does " share path " not sound better? )
fn share_uri(&self) -> Option<String> {
        match self.shared() {
            Some(Protocol::Nvmf) => nvmf::get_uri(self.name()),
            Some(Protocol::Iscsi) => iscsi::get_uri(Side::Nexus, self.name()),
            _ => Some(format!("bdev:///{}", self.name())),
        }
    }
fn share_uri ( & self ) -> Option < String > { match self . shared ( ) { Some ( Protocol :: Nvmf ) => nvmf :: get_uri ( self . name ( ) ) , Some ( Protocol :: Iscsi ) => iscsi :: get_uri ( Side :: Nexus , self . name ( ) ) , _ => Some ( format ! ( " " self name ( ) ) ) , } }
return share URI for nvmf and iscsi (does "share path" not sound
better?)
return share URI for nvmf and iscsi ( does " share path " not sound better? )
&self