#[repr(C)]pub enum BomsBytesTest<'a> {
Incomplete,
Complete {
bom_type: Option<BomType>,
additional_bytes: &'a [u8],
},
}Expand description
Test result for the compatibility with multiple BOMs.
Variants§
Incomplete
The byte array tested is not long enough to confirm whether one of the BOMs is present.
Complete
The byte array tested is confirmed to start with either one of the BOMs or none of them.
Trait Implementations§
Source§impl<'a> Clone for BomsBytesTest<'a>
impl<'a> Clone for BomsBytesTest<'a>
Source§fn clone(&self) -> BomsBytesTest<'a>
fn clone(&self) -> BomsBytesTest<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for BomsBytesTest<'a>
impl<'a> Debug for BomsBytesTest<'a>
Source§impl<'a> PartialEq for BomsBytesTest<'a>
impl<'a> PartialEq for BomsBytesTest<'a>
impl<'a> Copy for BomsBytesTest<'a>
impl<'a> Eq for BomsBytesTest<'a>
impl<'a> StructuralPartialEq for BomsBytesTest<'a>
Auto Trait Implementations§
impl<'a> Freeze for BomsBytesTest<'a>
impl<'a> RefUnwindSafe for BomsBytesTest<'a>
impl<'a> Send for BomsBytesTest<'a>
impl<'a> Sync for BomsBytesTest<'a>
impl<'a> Unpin for BomsBytesTest<'a>
impl<'a> UnwindSafe for BomsBytesTest<'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