pub enum PlCdr1Reading {
Strict,
Tolerant,
}Expand description
Whether a PL_CDR1 reader takes a stream framed another way than it was
configured for. The byte-layer half of
zerodds_ast_layout::PlCdr1Reading, which carries the reasoning.
Variants§
Strict
The configured framing is read; another framing’s flags, header
form and length convention are reported as
crate::WireError::WrongFraming.
Tolerant
Any flags on PID_EXTENDED and PID_LIST_END, either header form
and either length convention are read.
Implementations§
Source§impl PlCdr1Reading
impl PlCdr1Reading
Sourcepub const fn is_tolerant(self) -> bool
pub const fn is_tolerant(self) -> bool
Whether this is Self::Tolerant.
Trait Implementations§
Source§impl Clone for PlCdr1Reading
impl Clone for PlCdr1Reading
impl Copy for PlCdr1Reading
Source§impl Debug for PlCdr1Reading
impl Debug for PlCdr1Reading
Source§impl Default for PlCdr1Reading
impl Default for PlCdr1Reading
impl Eq for PlCdr1Reading
Source§impl PartialEq for PlCdr1Reading
impl PartialEq for PlCdr1Reading
impl StructuralPartialEq for PlCdr1Reading
Auto Trait Implementations§
impl Freeze for PlCdr1Reading
impl RefUnwindSafe for PlCdr1Reading
impl Send for PlCdr1Reading
impl Sync for PlCdr1Reading
impl Unpin for PlCdr1Reading
impl UnsafeUnpin for PlCdr1Reading
impl UnwindSafe for PlCdr1Reading
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