Type Alias rasn::types::BitStr

source ·
pub type BitStr = BitSlice<u8, Msb0>;
Expand description

A reference to a BIT STRING type.

Aliased Type§

struct BitStr { /* private fields */ }

Trait Implementations§

source§

impl AsnType for BitStr

source§

const TAG: Tag = Tag::BIT_STRING

The associated tag for the type. Read more
source§

const TAG_TREE: TagTree = _

The root of this type’s tree of tag’s if it a CHOICE type, otherwise its Leaf that points Self::TAG.
source§

const CONSTRAINTS: Constraints<'static> = Constraints::NONE

source§

impl Encode for BitStr

source§

fn encode_with_tag_and_constraints<E: Encoder>( &self, encoder: &mut E, tag: Tag, constraints: Constraints<'_> ) -> Result<(), E::Error>

source§

fn encode<E: Encoder>(&self, encoder: &mut E) -> Result<(), E::Error>

Encodes self’s data into the given Encoder. Read more
source§

fn encode_with_tag<E: Encoder>( &self, encoder: &mut E, tag: Tag ) -> Result<(), E::Error>

Encode this value with tag into the given Encoder. Read more
source§

fn encode_with_constraints<E: Encoder>( &self, encoder: &mut E, constraints: Constraints<'_> ) -> Result<(), E::Error>