Struct cyfs_lib::SyncRequestor
source · [−]pub struct SyncRequestor { /* private fields */ }
Implementations
sourceimpl SyncRequestor
impl SyncRequestor
pub fn new_tcp(service_addr: &str) -> Self
pub fn new(requestor: HttpRequestorRef) -> Self
pub async fn sync_status(&self, flush: bool) -> BuckyResult<DeviceSyncStatus>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SyncRequestor
impl Send for SyncRequestor
impl Sync for SyncRequestor
impl Unpin for SyncRequestor
impl !UnwindSafe for SyncRequestor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more