Enum Durability
pub enum Durability {
Local,
Memory,
Custom(EnvFactory),
}Expand description
What survives what. See the documentation’s guarantees page.
Variants§
Local
Outputs wait for a durable flush of this machine’s disk. Survives process crashes, and power loss on drives that honor flushes.
Memory
Nothing is written. Survives nothing. For tests.
Custom(EnvFactory)
Storage provided by a factory, for example a Fusee server
(fusee_server::remote_config). Outputs wait for that storage’s
durable flush.
Trait Implementations§
§impl Clone for Durability
impl Clone for Durability
§impl Debug for Durability
impl Debug for Durability
Auto Trait Implementations§
impl !RefUnwindSafe for Durability
impl !UnwindSafe for Durability
impl Forget for Durability
impl Freeze for Durability
impl Move for Durability
impl Send for Durability
impl Sync for Durability
impl Unpin for Durability
impl UnsafeUnpin for Durability
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