Enum concordium_std::SeekFrom
source · [−]Expand description
This is essentially equivalent to the
SeekFrom type from
the rust standard library, but reproduced here to avoid dependency on
std::io
, as well as to use 32-bit integers to specify positions. This
saves some computation and space, and is adequate for the kind of data sizes
that are possible in smart contracts.
Variants
Start(u32)
End(i32)
Current(i32)
Auto Trait Implementations
impl RefUnwindSafe for SeekFrom
impl Send for SeekFrom
impl Sync for SeekFrom
impl Unpin for SeekFrom
impl UnwindSafe for SeekFrom
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