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
§fn clone(&self) -> Durability
fn clone(&self) -> Durability
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 more§impl Debug for Durability
impl Debug for Durability
§impl PartialEq for Durability
impl PartialEq for Durability
Auto Trait Implementations§
impl Freeze for Durability
impl !RefUnwindSafe for Durability
impl Send for Durability
impl Sync for Durability
impl Unpin for Durability
impl UnsafeUnpin for Durability
impl !UnwindSafe 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