[−][src]Enum mft::attribute::MftAttributeContent
Variants
Raw(RawAttribute)
AttrX80(DataAttr)
AttrX10(StandardInfoAttr)
AttrX20(AttributeListAttr)
AttrX30(FileNameAttr)
AttrX40(ObjectIdAttr)
AttrX90(IndexRootAttr)
Empty - used when data is non resident.
Methods
impl MftAttributeContent
[src]
pub fn from_stream_resident<S: ReadSeek>(
stream: &mut S,
header: &MftAttributeHeader,
resident: &ResidentHeader
) -> Result<Self>
[src]
stream: &mut S,
header: &MftAttributeHeader,
resident: &ResidentHeader
) -> Result<Self>
pub fn into_index_root(self) -> Option<IndexRootAttr>
[src]
Converts the given attributes into a IndexRootAttr
, consuming the object attribute object.
pub fn into_object_id(self) -> Option<ObjectIdAttr>
[src]
Converts the given attributes into a ObjectIdAttr
, consuming the object attribute object.
pub fn into_standard_info(self) -> Option<StandardInfoAttr>
[src]
Converts the given attributes into a StandardInfoAttr
, consuming the object attribute object.
pub fn into_data(self) -> Option<DataAttr>
[src]
Converts the given attributes into a DataAttr
, consuming the object attribute object.
pub fn into_file_name(self) -> Option<FileNameAttr>
[src]
Converts the given attributes into a FileNameAttr
, consuming the object attribute object.
Trait Implementations
impl Clone for MftAttributeContent
[src]
fn clone(&self) -> MftAttributeContent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MftAttributeContent
[src]
impl Serialize for MftAttributeContent
[src]
Auto Trait Implementations
impl RefUnwindSafe for MftAttributeContent
impl Send for MftAttributeContent
impl Sync for MftAttributeContent
impl Unpin for MftAttributeContent
impl UnwindSafe for MftAttributeContent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,