pub struct BitStringOwned { /* private fields */ }Expand description
Owned BIT STRING value used when BER segments must be flattened.
Implementations§
Source§impl BitStringOwned
impl BitStringOwned
Sourcepub exec fn new(unused: u8, bits: Vec<u8>) -> value : Self
pub exec fn new(unused: u8, bits: Vec<u8>) -> value : Self
requires
unused <= 7,bits.len() == 0 ==> unused == 0,ensuresvalue.deep_view()
== (BitStringSpec {
unused,
bits: bits.deep_view(),
}),Trait Implementations§
Source§impl ByteLen<BitStringOwned> for BitStringFmt<false>
Available on crate feature alloc only.
impl ByteLen<BitStringOwned> for BitStringFmt<false>
Available on crate feature
alloc only.Source§impl DeepView for BitStringOwned
Available on crate feature alloc only.
impl DeepView for BitStringOwned
Available on crate feature
alloc only.Source§impl Prepare<BitStringOwned> for BitStringFmt<false>
Available on crate feature alloc only.
impl Prepare<BitStringOwned> for BitStringFmt<false>
Available on crate feature
alloc only.Source§impl<Output: OutputBuf> Serializer<Output, BitStringOwned> for BitStringFmt<false>
Available on crate feature alloc only.
impl<Output: OutputBuf> Serializer<Output, BitStringOwned> for BitStringFmt<false>
Available on crate feature
alloc only.Source§exec fn serialize_into(&self, v: &BitStringOwned, obuf: &mut Output)
exec fn serialize_into(&self, v: &BitStringOwned, obuf: &mut Output)
Auto Trait Implementations§
impl Freeze for BitStringOwned
impl RefUnwindSafe for BitStringOwned
impl Send for BitStringOwned
impl Sync for BitStringOwned
impl Unpin for BitStringOwned
impl UnsafeUnpin for BitStringOwned
impl UnwindSafe for BitStringOwned
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more