pub struct CryptographicLength(pub i32);Expand description
See KMIP 1.0 section 3.5 Cryptographic Length.
Tuple Fields§
§0: i32Implementations§
Source§impl CryptographicLength
impl CryptographicLength
pub const TAG: Tag
pub fn fast_scan(scanner: &mut FastScanner<'_>) -> Result<Self, FastScanError>
pub fn fast_scan_with( scanner: &mut FastScanner<'_>, tag: Tag, ) -> Result<Self, FastScanError>
pub fn fast_scan_opt( scanner: &mut FastScanner<'_>, ) -> Result<Option<Self>, FastScanError>
pub fn fast_scan_opt_with( scanner: &mut FastScanner<'_>, tag: Tag, ) -> Result<Option<Self>, FastScanError>
pub fn format(&self, formatter: &mut Formatter<'_>) -> FormatResult
pub fn format_with( &self, formatter: &mut Formatter<'_>, tag: Tag, ) -> FormatResult
Trait Implementations§
Source§impl Clone for CryptographicLength
impl Clone for CryptographicLength
impl Copy for CryptographicLength
Source§impl Debug for CryptographicLength
impl Debug for CryptographicLength
impl Eq for CryptographicLength
Source§impl PartialEq for CryptographicLength
impl PartialEq for CryptographicLength
impl StructuralPartialEq for CryptographicLength
Auto Trait Implementations§
impl Forget for CryptographicLength
impl Freeze for CryptographicLength
impl Move for CryptographicLength
impl RefUnwindSafe for CryptographicLength
impl Send for CryptographicLength
impl Sync for CryptographicLength
impl Unpin for CryptographicLength
impl UnsafeUnpin for CryptographicLength
impl UnwindSafe for CryptographicLength
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