pub enum FileSeekFrom {
Start(u64),
End(i64),
Current(i64),
}Expand description
A SeekFrom type which implements serde.
Variants§
Trait Implementations§
Source§impl Clone for FileSeekFrom
impl Clone for FileSeekFrom
Source§fn clone(&self) -> FileSeekFrom
fn clone(&self) -> FileSeekFrom
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 FileSeekFrom
impl Debug for FileSeekFrom
Source§impl<'de> Deserialize<'de> for FileSeekFrom
impl<'de> Deserialize<'de> for FileSeekFrom
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<FileSeekFrom> for SeekFrom
impl From<FileSeekFrom> for SeekFrom
Source§fn from(value: FileSeekFrom) -> Self
fn from(value: FileSeekFrom) -> Self
Converts to this type from the input type.
Source§impl From<SeekFrom> for FileSeekFrom
impl From<SeekFrom> for FileSeekFrom
Source§impl PartialEq for FileSeekFrom
impl PartialEq for FileSeekFrom
Source§impl Serialize for FileSeekFrom
impl Serialize for FileSeekFrom
impl Copy for FileSeekFrom
impl Eq for FileSeekFrom
impl StructuralPartialEq for FileSeekFrom
Auto Trait Implementations§
impl Freeze for FileSeekFrom
impl RefUnwindSafe for FileSeekFrom
impl Send for FileSeekFrom
impl Sync for FileSeekFrom
impl Unpin for FileSeekFrom
impl UnwindSafe for FileSeekFrom
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