[−][src]Enum taskchampion::ServerConfig
The configuration for a replica's access to a sync server.
Variants
A local task database, for situations with a single replica.
Fields of Local
server_dir: PathBuf
Path containing the server's DB
A remote taskchampion-sync-server instance
Fields of Remote
origin: String
Sync server "origin"; a URL with schema and hostname but no path or trailing /
client_key: Uuid
Client Key to identify and authenticate this replica to the server
encryption_secret: Vec<u8>
Private encryption secret used to encrypt all data sent to the server. This can be any suitably un-guessable string of bytes.
Implementations
impl ServerConfig
[src]
pub fn into_server(self) -> Fallible<Box<dyn Server>>
[src]
Get a server based on this configuration
Auto Trait Implementations
impl RefUnwindSafe for ServerConfig
[src]
impl Send for ServerConfig
[src]
impl Sync for ServerConfig
[src]
impl Unpin for ServerConfig
[src]
impl UnwindSafe for ServerConfig
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,