Struct base64ct::Base64Unpadded
source · pub struct Base64Unpadded;
Expand description
Standard Base64 encoding without padding.
[A-Z] [a-z] [0-9] + /
0x41-0x5a, 0x61-0x7a, 0x30-0x39, 0x2b, 0x2f
Trait Implementations§
source§impl Clone for Base64Unpadded
impl Clone for Base64Unpadded
source§fn clone(&self) -> Base64Unpadded
fn clone(&self) -> Base64Unpadded
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Base64Unpadded
impl Debug for Base64Unpadded
source§impl PartialEq for Base64Unpadded
impl PartialEq for Base64Unpadded
source§fn eq(&self, other: &Base64Unpadded) -> bool
fn eq(&self, other: &Base64Unpadded) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Base64Unpadded
impl Eq for Base64Unpadded
impl StructuralPartialEq for Base64Unpadded
Auto Trait Implementations§
impl Freeze for Base64Unpadded
impl RefUnwindSafe for Base64Unpadded
impl Send for Base64Unpadded
impl Sync for Base64Unpadded
impl Unpin for Base64Unpadded
impl UnwindSafe for Base64Unpadded
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Encoding for Twhere
T: Alphabet,
impl<T> Encoding for Twhere
T: Alphabet,
source§fn decode(src: impl AsRef<[u8]>, dst: &mut [u8]) -> Result<&[u8], Error>
fn decode(src: impl AsRef<[u8]>, dst: &mut [u8]) -> Result<&[u8], Error>
Decode a Base64 string into the provided destination buffer.
source§fn decode_in_place(buf: &mut [u8]) -> Result<&[u8], InvalidEncodingError>
fn decode_in_place(buf: &mut [u8]) -> Result<&[u8], InvalidEncodingError>
Decode a Base64 string in-place. Read more
source§fn decode_vec(input: &str) -> Result<Vec<u8>, Error>
fn decode_vec(input: &str) -> Result<Vec<u8>, Error>
Decode a Base64 string into a byte vector.
source§fn encode<'a>(
src: &[u8],
dst: &'a mut [u8],
) -> Result<&'a str, InvalidLengthError>
fn encode<'a>( src: &[u8], dst: &'a mut [u8], ) -> Result<&'a str, InvalidLengthError>
Encode the input byte slice as Base64. Read more