fn block_id_to_number(&self, at: &BlockId<Self::Block>) -> Result<Option<NumberFor<Self>>, Self::Error> {
			Ok(match at {
				BlockId::Number(num) => Some(*num),
				BlockId::Hash(_) => None,
			})
		}
/// Returns a block number given the block id.
Returns a block number given the block id.
Returns a block number given the block id .
fn block_id_to_number(&self, at: &BlockId<Self::Block>) -> Result<Option<NumberFor<Self>>, Self::Error> {
			Ok(match at {
				BlockId::Number(num) => Some(*num),
				BlockId::Hash(_) => None,
			})
		}
fn block_id_to_number ( & self , at : & BlockId < Self :: Block > ) -> Result < Option < NumberFor < Self > > , Self :: Error > { Ok ( match at { BlockId :: Number ( num ) => Some ( * num ) , BlockId :: Hash ( _ ) => None , } ) }
Returns a block number given the block id.
Returns a block number given the block id .
&self
at
&BlockId<Self::Block>
&self
at
&BlockId<Self::Block>