pub struct LogClient {
base_url: String,
http: Client,
}Fields§
§base_url: String§http: ClientImplementations§
Source§impl LogClient
impl LogClient
pub fn new(base_url: String) -> Self
pub async fn fetch_head(&self) -> Result<TreeHead>
pub async fn fetch_consistency(&self, old_size: u64) -> Result<ConsistencyProof>
Auto Trait Implementations§
impl !RefUnwindSafe for LogClient
impl !UnwindSafe for LogClient
impl Freeze for LogClient
impl Send for LogClient
impl Sync for LogClient
impl Unpin for LogClient
impl UnsafeUnpin for LogClient
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