pub enum MarkStream {
Status,
Macb,
}Expand description
One NTFS Alternate Data Stream carrying part of the marking.
Variants§
Status
<name>:4n6.status — the deleted / orphan word.
Macb
<name>:4n6.macb — the four MACB times as a JSON object.
Implementations§
Source§impl MarkStream
impl MarkStream
Sourcepub fn base(self) -> &'static str
pub fn base(self) -> &'static str
The bare NTFS stream name (no : delimiters, no :$DATA type suffix).
Sourcepub fn from_base(base: &str) -> Option<Self>
pub fn from_base(base: &str) -> Option<Self>
Parse a bare NTFS stream name into a marking stream, or None when it is
not one of ours (so a foreign ADS is never misread as a 4n6 marker).
Sourcepub fn ads_full_name(self) -> String
pub fn ads_full_name(self) -> String
The full NTFS stream name Dokan reports for this stream, e.g.
:4n6.status:$DATA.
Trait Implementations§
Source§impl Clone for MarkStream
impl Clone for MarkStream
Source§fn clone(&self) -> MarkStream
fn clone(&self) -> MarkStream
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MarkStream
Source§impl Debug for MarkStream
impl Debug for MarkStream
impl Eq for MarkStream
Source§impl PartialEq for MarkStream
impl PartialEq for MarkStream
impl StructuralPartialEq for MarkStream
Auto Trait Implementations§
impl Freeze for MarkStream
impl RefUnwindSafe for MarkStream
impl Send for MarkStream
impl Sync for MarkStream
impl Unpin for MarkStream
impl UnsafeUnpin for MarkStream
impl UnwindSafe for MarkStream
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more