pub struct JournalLocation(pub String);Expand description
A journal location literal (policy.journal), validated against the frozen
schema pattern ^(file:.+|postgres://.+)$ at parse time so a malformed value
fails configuration (KEEL-E001) rather than being silently ignored. The real
core honors it at configure time: file: attaches a SQLite journal at that
path (replacing the construction-time default), and postgres:// fails
loudly with KEEL-E005 until a Postgres backend ships.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for JournalLocation
impl Clone for JournalLocation
Source§fn clone(&self) -> JournalLocation
fn clone(&self) -> JournalLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JournalLocation
impl Debug for JournalLocation
Source§impl<'de> Deserialize<'de> for JournalLocation
impl<'de> Deserialize<'de> for JournalLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for JournalLocation
Source§impl FromStr for JournalLocation
impl FromStr for JournalLocation
Source§impl PartialEq for JournalLocation
impl PartialEq for JournalLocation
impl StructuralPartialEq for JournalLocation
Auto Trait Implementations§
impl Freeze for JournalLocation
impl RefUnwindSafe for JournalLocation
impl Send for JournalLocation
impl Sync for JournalLocation
impl Unpin for JournalLocation
impl UnsafeUnpin for JournalLocation
impl UnwindSafe for JournalLocation
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