pub struct DecodeOptions { /* private fields */ }Expand description
Options controlling xlog decode behavior.
Implementations§
Source§impl DecodeOptions
impl DecodeOptions
Sourcepub fn private_key(self, private_key: [u8; 32]) -> Self
pub fn private_key(self, private_key: [u8; 32]) -> Self
Configures the 32-byte server private key used for encrypted async blocks.
Sourcepub fn private_key_hex(self, private_key_hex: &str) -> Result<Self, DecodeError>
pub fn private_key_hex(self, private_key_hex: &str) -> Result<Self, DecodeError>
Parses and configures a 64-hex-character server private key.
Trait Implementations§
Source§impl Clone for DecodeOptions
impl Clone for DecodeOptions
Source§impl Debug for DecodeOptions
impl Debug for DecodeOptions
Auto Trait Implementations§
impl Freeze for DecodeOptions
impl RefUnwindSafe for DecodeOptions
impl Send for DecodeOptions
impl Sync for DecodeOptions
impl Unpin for DecodeOptions
impl UnsafeUnpin for DecodeOptions
impl UnwindSafe for DecodeOptions
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