pub struct CasyncReaderConfig {
pub block_size: u32,
pub strict_verify: bool,
pub identity: Option<String>,
}Fields§
§block_size: u32§strict_verify: bool§identity: Option<String>Implementations§
Source§impl CasyncReaderConfig
impl CasyncReaderConfig
pub fn with_identity(self, identity: impl Into<String>) -> Self
Trait Implementations§
Source§impl BlockReaderConfigIdentity for CasyncReaderConfig
impl BlockReaderConfigIdentity for CasyncReaderConfig
fn write_identity(&self, out: &mut dyn Write) -> Result
Source§impl Clone for CasyncReaderConfig
impl Clone for CasyncReaderConfig
Source§fn clone(&self) -> CasyncReaderConfig
fn clone(&self) -> CasyncReaderConfig
Returns a duplicate 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 CasyncReaderConfig
impl Debug for CasyncReaderConfig
Auto Trait Implementations§
impl Freeze for CasyncReaderConfig
impl RefUnwindSafe for CasyncReaderConfig
impl Send for CasyncReaderConfig
impl Sync for CasyncReaderConfig
impl Unpin for CasyncReaderConfig
impl UnsafeUnpin for CasyncReaderConfig
impl UnwindSafe for CasyncReaderConfig
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