Enum Client
pub enum Client {
None,
Static(StaticPaths),
DynamicDir(DynamicDir),
}Variants§
Implementations§
§impl Client
impl Client
pub(crate) fn apply_defaults(&mut self)
pub(crate) async fn get_client_certificate_path(&self) -> Option<Box<Path>>
async fn get_static_paths(&self) -> Option<StaticPathsCow<'_>>
Trait Implementations§
§impl<'de> Deserialize<'de> for Client
impl<'de> Deserialize<'de> for Client
§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
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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