Struct cyfs_lib::PostionFileRange
source · [−]Fields
path: String
range_begin: u64
range_end: u64
Implementations
sourceimpl PostionFileRange
impl PostionFileRange
pub fn encode(&self) -> String
pub fn decode(value: &str) -> Result<PostionFileRange, BuckyError>
Trait Implementations
sourceimpl Clone for PostionFileRange
impl Clone for PostionFileRange
sourcefn clone(&self) -> PostionFileRange
fn clone(&self) -> PostionFileRange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PostionFileRange
impl Debug for PostionFileRange
sourceimpl FromStr for PostionFileRange
impl FromStr for PostionFileRange
type Err = BuckyError
type Err = BuckyError
The associated error which can be returned from parsing.
sourcefn from_str(
value: &str
) -> Result<PostionFileRange, <PostionFileRange as FromStr>::Err>
fn from_str(
value: &str
) -> Result<PostionFileRange, <PostionFileRange as FromStr>::Err>
Parses a string s
to return a value of this type. Read more
sourceimpl PartialEq<PostionFileRange> for PostionFileRange
impl PartialEq<PostionFileRange> for PostionFileRange
sourcefn eq(&self, other: &PostionFileRange) -> bool
fn eq(&self, other: &PostionFileRange) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PostionFileRange) -> bool
fn ne(&self, other: &PostionFileRange) -> bool
This method tests for !=
.
sourceimpl ToString for PostionFileRange
impl ToString for PostionFileRange
impl Eq for PostionFileRange
impl StructuralEq for PostionFileRange
impl StructuralPartialEq for PostionFileRange
Auto Trait Implementations
impl RefUnwindSafe for PostionFileRange
impl Send for PostionFileRange
impl Sync for PostionFileRange
impl Unpin for PostionFileRange
impl UnwindSafe for PostionFileRange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more