pub struct SignedAttributesDer(_, _);
Implementations
sourceimpl SignedAttributesDer
impl SignedAttributesDer
pub fn new(sa: SignedAttributes, tag: Option<Tag>) -> Self
Trait Implementations
sourceimpl Values for SignedAttributesDer
impl Values for SignedAttributesDer
sourcefn encoded_len(&self, _: Mode) -> usize
fn encoded_len(&self, _: Mode) -> usize
Returns the length of the encoded values for the given mode.
sourcefn write_encoded<W: Write>(&self, _: Mode, target: &mut W) -> Result<(), Error>
fn write_encoded<W: Write>(&self, _: Mode, target: &mut W) -> Result<(), Error>
Encodes the values in the given mode and writes them to target
.
sourcefn explicit(self, tag: Tag) -> Constructed<Self>
fn explicit(self, tag: Tag) -> Constructed<Self>
Converts the encoder into one with an explicit tag.
sourcefn to_captured(&self, mode: Mode) -> Captured
fn to_captured(&self, mode: Mode) -> Captured
Captures the encoded values in the given mode.
Auto Trait Implementations
impl RefUnwindSafe for SignedAttributesDer
impl Send for SignedAttributesDer
impl Sync for SignedAttributesDer
impl Unpin for SignedAttributesDer
impl UnwindSafe for SignedAttributesDer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more