pub trait CookieExt {
Show 18 methods
// Provided methods
fn new(_name: &str, _value: &str) -> CookieImpl { ... }
fn creation_time(&self) -> SystemTime { ... }
fn expires(&self) -> Option<SystemTime> { ... }
fn domain<'a>(&'a self) -> Cow<'a, str> { ... }
fn free(&mut self) { ... }
fn is_http_only(&self) -> bool { ... }
fn name<'a>(&'a self) -> Cow<'a, str> { ... }
fn path<'a>(&'a self) -> Cow<'a, str> { ... }
fn is_secure(&self) -> bool { ... }
fn value<'a>(&'a self) -> Cow<'a, str> { ... }
fn make_http_only(&mut self) { ... }
fn make_secure(&mut self) { ... }
fn set_creation_time(&mut self, _time: &SystemTime) { ... }
fn set_expires(&mut self, _time: &SystemTime) { ... }
fn set_domain(&mut self, _domain: &str) { ... }
fn set_name(&mut self, _name: &str) { ... }
fn set_path(&mut self, _path: &str) { ... }
fn set_value(&mut self, _value: &str) { ... }
}
Provided Methods§
fn new(_name: &str, _value: &str) -> CookieImpl
fn creation_time(&self) -> SystemTime
fn expires(&self) -> Option<SystemTime>
fn domain<'a>(&'a self) -> Cow<'a, str>
fn free(&mut self)
fn is_http_only(&self) -> bool
fn name<'a>(&'a self) -> Cow<'a, str>
fn path<'a>(&'a self) -> Cow<'a, str>
fn is_secure(&self) -> bool
fn value<'a>(&'a self) -> Cow<'a, str>
fn make_http_only(&mut self)
fn make_secure(&mut self)
fn set_creation_time(&mut self, _time: &SystemTime)
fn set_expires(&mut self, _time: &SystemTime)
fn set_domain(&mut self, _domain: &str)
fn set_name(&mut self, _name: &str)
fn set_path(&mut self, _path: &str)
fn set_value(&mut self, _value: &str)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.