pub enum LinkClass {
Hard,
Soft {
path: String,
},
External {
file: String,
path: String,
},
UserDefined {
link_type: u8,
},
}Expand description
The class of one link record in a group: what H5Lget_info reports,
carrying the value H5Lget_val returns for the classes that have one.
Every link a group holds gets one of these, whether or not the object it names can be opened — a listing is a listing of links, not of objects.
Variants§
Hard
Another name for an object in this file.
Soft
A path inside this file, resolved when the link is traversed.
External
A path inside another file. Listed and reported, but not followed.
UserDefined
A user-defined link class this reader has no interpreter for; libhdf5 needs a registered link class for these too.
Trait Implementations§
impl Eq for LinkClass
impl StructuralPartialEq for LinkClass
Auto Trait Implementations§
impl Freeze for LinkClass
impl RefUnwindSafe for LinkClass
impl Send for LinkClass
impl Sync for LinkClass
impl Unpin for LinkClass
impl UnsafeUnpin for LinkClass
impl UnwindSafe for LinkClass
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