Struct cyfs_bdt::utils::SingleSourceContext
source · pub struct SingleSourceContext(_);Implementations§
source§impl SingleSourceContext
impl SingleSourceContext
pub fn ptr_eq(&self, other: &Self) -> bool
pub fn source(&self) -> &DownloadSource<DeviceDesc>
pub fn from_desc(referer: String, remote: DeviceDesc) -> Self
pub async fn from_id( stack: &Stack, referer: String, remote: DeviceId ) -> BuckyResult<Self>
pub async fn wait_session( &self, abort: impl Future<Output = BuckyError> ) -> BuckyResult<DownloadSession>
Trait Implementations§
source§impl Clone for SingleSourceContext
impl Clone for SingleSourceContext
source§fn clone(&self) -> SingleSourceContext
fn clone(&self) -> SingleSourceContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more