pub struct RegexSearchOptions {
pub result_capacity: usize,
pub max_path_len: usize,
}Expand description
Ограничения поиска.
Fields§
§result_capacity: usizeСколько непрочитанных результатов хранится в очереди. При
переполнении поиск завершается ошибкой RegexError::Overflow.
По умолчанию 64.
max_path_len: usizeНаибольшая допустимая длина пути в результате. Результат с более длинным путём также завершает поиск ошибкой. По умолчанию 256.
Trait Implementations§
Source§impl Clone for RegexSearchOptions
impl Clone for RegexSearchOptions
Source§fn clone(&self) -> RegexSearchOptions
fn clone(&self) -> RegexSearchOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegexSearchOptions
Source§impl Debug for RegexSearchOptions
impl Debug for RegexSearchOptions
Auto Trait Implementations§
impl Freeze for RegexSearchOptions
impl RefUnwindSafe for RegexSearchOptions
impl Send for RegexSearchOptions
impl Sync for RegexSearchOptions
impl Unpin for RegexSearchOptions
impl UnsafeUnpin for RegexSearchOptions
impl UnwindSafe for RegexSearchOptions
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