#[repr(u32)]pub enum BNTransformType {
BinaryCodecTransform = 0,
TextCodecTransform = 1,
UnicodeCodecTransform = 2,
DecodeTransform = 3,
BinaryEncodeTransform = 4,
TextEncodeTransform = 5,
EncryptTransform = 6,
InvertingTransform = 7,
HashTransform = 8,
}
Variants§
BinaryCodecTransform = 0
Two-way transform of data, binary input/output
TextCodecTransform = 1
Two-way transform of data, encoder output is text
UnicodeCodecTransform = 2
Two-way transform of data, encoder output is Unicode string (as UTF8)
DecodeTransform = 3
One-way decode only
BinaryEncodeTransform = 4
One-way encode only, output is binary
TextEncodeTransform = 5
One-way encode only, output is text
EncryptTransform = 6
Two-way encryption
InvertingTransform = 7
Transform that can be undone by performing twice
HashTransform = 8
Hash function
Trait Implementations§
source§impl Clone for BNTransformType
impl Clone for BNTransformType
source§fn clone(&self) -> BNTransformType
fn clone(&self) -> BNTransformType
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 BNTransformType
impl Debug for BNTransformType
source§impl Hash for BNTransformType
impl Hash for BNTransformType
source§impl PartialEq for BNTransformType
impl PartialEq for BNTransformType
impl Copy for BNTransformType
impl Eq for BNTransformType
impl StructuralPartialEq for BNTransformType
Auto Trait Implementations§
impl Freeze for BNTransformType
impl RefUnwindSafe for BNTransformType
impl Send for BNTransformType
impl Sync for BNTransformType
impl Unpin for BNTransformType
impl UnwindSafe for BNTransformType
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§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
)