Struct ct_codecs::Base64UrlSafe [−][src]
Trait Implementations
impl Decoder for Base64UrlSafe
[src]
fn decode<'t, IN: AsRef<[u8]>>(
bin: &'t mut [u8],
b64: IN,
ignore: Option<&[u8]>
) -> Result<&'t [u8], Error>
[src]
bin: &'t mut [u8],
b64: IN,
ignore: Option<&[u8]>
) -> Result<&'t [u8], Error>
fn decode_to_vec<IN: AsRef<[u8]>>(
encoded: IN,
ignore: Option<&[u8]>
) -> Result<Vec<u8>, Error>
[src]
encoded: IN,
ignore: Option<&[u8]>
) -> Result<Vec<u8>, Error>
impl Encoder for Base64UrlSafe
[src]
fn encoded_len(bin_len: usize) -> Result<usize, Error>
[src]
fn encode<IN: AsRef<[u8]>>(b64: &mut [u8], bin: IN) -> Result<&[u8], Error>
[src]
fn encode_to_str<IN: AsRef<[u8]>>(
encoded: &mut [u8],
bin: IN
) -> Result<&str, Error>
[src]
encoded: &mut [u8],
bin: IN
) -> Result<&str, Error>
fn encode_to_string<IN: AsRef<[u8]>>(bin: IN) -> Result<String, Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Base64UrlSafe
impl Send for Base64UrlSafe
impl Sync for Base64UrlSafe
impl Unpin for Base64UrlSafe
impl UnwindSafe for Base64UrlSafe
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,