pub fn retire_dcid(&mut self, seq: u64) -> Result<Option<usize>> {
        if self.zero_length_dcid {
            return Err(Error::InvalidState);
        }

        let e = self.dcids.remove(seq)?.ok_or(Error::InvalidState)?;

        self.retire_dcid_seqs.push_back(seq);

        Ok(e.path_id)
    }
/// Retires the Destination Connection ID having the provided sequence
/// number.
///
/// If the caller tries to retire the last destination Connection ID, this
/// method triggers an [`OutOfIdentifiers`].
///
/// If the caller tries to retire a non-existing Destination Connection
/// ID sequence number, this method returns an [`InvalidState`].
///
/// Returns the path ID that was associated to the retired CID, if any.
///
/// [`OutOfIdentifiers`]: enum.Error.html#OutOfIdentifiers
/// [`InvalidState`]: enum.Error.html#InvalidState
Retires the Destination Connection ID having the provided sequence
number.

If the caller tries to retire the last destination Connection ID, this
method triggers an [`OutOfIdentifiers`].

If the caller tries to retire a non-existing Destination Connection
ID sequence number, this method returns an [`InvalidState`].

Returns the path ID that was associated to the retired CID, if any.


Retires the Destination Connection ID having the provided sequence number . If the caller tries to retire the last destination Connection ID this method triggers an [ ` OutOfIdentifiers ` ] . If the caller tries to retire a non - existing Destination Connection ID sequence number this method returns an [ ` InvalidState ` ] . Returns the path ID that was associated to the retired CID if any .
pub fn retire_dcid(&mut self, seq: u64) -> Result<Option<usize>> {
        if self.zero_length_dcid {
            return Err(Error::InvalidState);
        }
        let e = self.dcids.remove(seq)?.ok_or(Error::InvalidState)?;
        self.retire_dcid_seqs.push_back(seq);
        Ok(e.path_id)
    }
pub fn retire_dcid ( & mut self , seq : u64 ) -> Result < Option < usize > > { if self . zero_length_dcid { return Err ( Error :: InvalidState ) ; } let e = self . dcids . remove ( seq ) ? . ok_or ( Error :: InvalidState ) ? ; self . retire_dcid_seqs . push_back ( seq ) ; Ok ( e . path_id ) }
Retires the Destination Connection ID having the provided sequence
number.
Retires the Destination Connection ID having the provided sequence number .
&mut self
seq
u64
&mut self
seq
u64