fn shared(&self) -> Option<Protocol> {
        match self.claimed_by() {
            Some(t) if t == "NVMe-oF Target" => Some(Protocol::Nvmf),
            Some(t) if t == "iSCSI Target" => Some(Protocol::Iscsi),
            _ => Some(Protocol::Off),
        }
    }
/// returns if the bdev is currently shared
/// TODO: we could do better here
returns if the bdev is currently shared
TODO: we could do better here
returns if the bdev is currently shared TODO : we could do better here
fn shared(&self) -> Option<Protocol> {
        match self.claimed_by() {
            Some(t) if t == "NVMe-oF Target" => Some(Protocol::Nvmf),
            Some(t) if t == "iSCSI Target" => Some(Protocol::Iscsi),
            _ => Some(Protocol::Off),
        }
    }
fn shared ( & self ) -> Option < Protocol > { match self . claimed_by ( ) { Some ( t ) if t == " " => Some ( Protocol :: Nvmf ) , Some ( t ) if t == " " => Some ( Protocol :: Iscsi ) , _ => Some ( Protocol :: Off ) , } }
returns if the bdev is currently shared
TODO: we could do better here
returns if the bdev is currently shared TODO : we could do better here
&self