pub enum BomPathType {
File,
Directory,
Link,
Dev,
Other(u8),
}Expand description
The type of path in a BOM.
Variants§
File
A regular file.
Directory
A directory.
Link
A symlink.
Dev
A device.
Other(u8)
Some other type we don’t know about.
Trait Implementations§
Source§impl Clone for BomPathType
impl Clone for BomPathType
Source§fn clone(&self) -> BomPathType
fn clone(&self) -> BomPathType
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 Debug for BomPathType
impl Debug for BomPathType
Source§impl From<BomPathType> for u8
impl From<BomPathType> for u8
Source§fn from(t: BomPathType) -> Self
fn from(t: BomPathType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for BomPathType
impl From<u8> for BomPathType
impl Copy for BomPathType
Auto Trait Implementations§
impl Freeze for BomPathType
impl RefUnwindSafe for BomPathType
impl Send for BomPathType
impl Sync for BomPathType
impl Unpin for BomPathType
impl UnwindSafe for BomPathType
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