[−][src]Struct bcder::string::OctetStringSource
A source atop an octet string.
You can get a value of this type by calling OctetString::source.
Trait Implementations
impl Source for OctetStringSource[src]
type Err = Error
The error produced by the source. Read more
fn request(&mut self, len: usize) -> Result<usize, Error>[src]
fn advance(&mut self, len: usize) -> Result<(), Error>[src]
fn slice(&self) -> &[u8][src]
fn bytes(&self, start: usize, end: usize) -> Bytes[src]
fn take_u8(&mut self) -> Result<u8, Self::Err>[src]
Takes a single octet from the source. Read more
fn take_opt_u8(&mut self) -> Result<Option<u8>, Self::Err>[src]
Takes an optional octet from the source. Read more
Auto Trait Implementations
impl Send for OctetStringSource
impl Sync for OctetStringSource
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,