pub enum MessageOption {
SkipField(String),
Size(String, usize),
None,
}
Expand description
Allow to a son to inform parent of something special
IN tree type a son can control parser of a parent node by providing some type depend fields
This is control by the options function of Message Trait
Variants§
SkipField(String)
You ask to skip a field during reading operation
Size(String, usize)
You ask to limit the size of reading buffer for a particular field
None
Non option
Auto Trait Implementations§
impl Freeze for MessageOption
impl RefUnwindSafe for MessageOption
impl Send for MessageOption
impl Sync for MessageOption
impl Unpin for MessageOption
impl UnwindSafe for MessageOption
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