pub enum StoreType {
None,
Bytes,
BytesMut,
Params,
KVLines,
File(PathBuf),
}Expand description
Storage type used to request how a messsage’s metadata and/or payload should be stored/parsed.
Variants§
None
Don’t store
Bytes
Store it as a bytes::Bytes
BytesMut
Store it as a bytes::BytesMut
Params
Parse and store it in a blather::Params buffer
KVLines
Parse and store it as a blather::KVLines buffer
File(PathBuf)
Store it in a file
Auto Trait Implementations§
impl Freeze for StoreType
impl RefUnwindSafe for StoreType
impl Send for StoreType
impl Sync for StoreType
impl Unpin for StoreType
impl UnwindSafe for StoreType
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