Enum tfs::error::Error
[−]
[src]
pub enum Error { NotFound, AlreadyExists, AlreadyFrozen, ConcurrentSnapshot, Io(Error), }
Variants
NotFound
AlreadyExists
AlreadyFrozen
ConcurrentSnapshot
Io(Error)
Methods
impl Error
[src]
fn assert_io(self) -> Error
Testing helper for asserting this error is Error::Io
fn assert_not_found(self)
Testing helper for asserting this error is Error::NotFound
fn assert_already_exists(self)
Testing helper for asserting this error is Error::AlreadyExists
fn assert_already_frozen(self)
Testing helper for asserting this error is Error::AlreadyFrozen
fn assert_concurrent_snapshot(self)
Testing helper for asserting this error is Error::ConcurrentSnapshot