pub struct ScanResult {
pub data: Vec<u8>,
pub replaced: usize,
pub stripped: usize,
}Expand description
Result of scanning a buffer for opaque tokens.
Fields§
§data: Vec<u8>The buffer with tokens replaced (or stripped on host mismatch).
replaced: usizeNumber of tokens successfully replaced with real values.
stripped: usizeNumber of tokens stripped due to host mismatch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanResult
impl RefUnwindSafe for ScanResult
impl Send for ScanResult
impl Sync for ScanResult
impl Unpin for ScanResult
impl UnsafeUnpin for ScanResult
impl UnwindSafe for ScanResult
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