Enum hyperscan::database::DbAllocation
source · pub enum DbAllocation<'a> {
Misc(MiscAllocation),
Rust(Cow<'a, [u8]>),
}Variants§
Misc(MiscAllocation)
Rust(Cow<'a, [u8]>)
Implementations§
source§impl<'a> DbAllocation<'a>
impl<'a> DbAllocation<'a>
source§impl DbAllocation<'static>
impl DbAllocation<'static>
pub fn from_cloned_data(s: &DbAllocation<'_>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DbAllocation<'a>
impl<'a> Send for DbAllocation<'a>
impl<'a> Sync for DbAllocation<'a>
impl<'a> Unpin for DbAllocation<'a>
impl<'a> UnwindSafe for DbAllocation<'a>
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