pub struct LexeConnectClient(/* private fields */);Expand description
A client for REQUESTER servers and mailboxes.
- Trusts Mozilla’s webpki roots.
- Follows no redirects, so a redirecting server can’t re-route a plaintext response.
- Requires
https://in staging and prod.
Implementations§
Source§impl LexeConnectClient
impl LexeConnectClient
pub fn new(deploy_env: DeployEnv) -> Result<Self>
Sourcepub async fn deliver(&self, delivery: &HttpDelivery) -> Result<()>
pub async fn deliver(&self, delivery: &HttpDelivery) -> Result<()>
Performs an HttpDelivery. Any non-2xx status is an error,
including a mailbox’s 409 Conflict for an address holding a
different blob.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LexeConnectClient
impl !UnwindSafe for LexeConnectClient
impl Freeze for LexeConnectClient
impl Send for LexeConnectClient
impl Sync for LexeConnectClient
impl Unpin for LexeConnectClient
impl UnsafeUnpin for LexeConnectClient
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