[−][src]Trait concordium_contracts_common::Seek
The Seek
trait provides a cursor which can be moved within a stream of
bytes. This is essentially a copy of
std::io::Seek, but
avoiding its dependency on std::io::Error
, and the associated code size
increase.
Associated Types
Loading content...Required methods
pub fn seek(&mut self, pos: SeekFrom) -> Result<u64, Self::Err>
[src]
Seek to the new position. If successful, return the new position from the beginning of the stream.