pub struct AcceptFileBuilder<'a, C: 'a + ?Sized> { /* private fields */ }Implementations§
Source§impl<'a, C: 'a + ?Sized> AcceptFileBuilder<'a, C>
impl<'a, C: 'a + ?Sized> AcceptFileBuilder<'a, C>
pub fn via_user_approved_relays(self) -> Self
pub fn store_encrypted(self) -> Self
pub fn inline(self) -> Self
pub fn file_path<P: AsRef<Path>>(self, path: P) -> Self
Trait Implementations§
Source§impl<'a, C: 'a + ?Sized + ClientApi> IntoFuture for AcceptFileBuilder<'a, C>
impl<'a, C: 'a + ?Sized + ClientApi> IntoFuture for AcceptFileBuilder<'a, C>
Source§type Output = Result<ReceiveFileResponse, <C as ClientApi>::Error>
type Output = Result<ReceiveFileResponse, <C as ClientApi>::Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <AcceptFileBuilder<'a, C> as IntoFuture>::Output> + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = <AcceptFileBuilder<'a, C> as IntoFuture>::Output> + Send + 'a>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a, C> Freeze for AcceptFileBuilder<'a, C>where
C: ?Sized,
impl<'a, C> RefUnwindSafe for AcceptFileBuilder<'a, C>where
C: RefUnwindSafe + ?Sized,
impl<'a, C> Send for AcceptFileBuilder<'a, C>
impl<'a, C> Sync for AcceptFileBuilder<'a, C>
impl<'a, C> Unpin for AcceptFileBuilder<'a, C>where
C: ?Sized,
impl<'a, C> UnsafeUnpin for AcceptFileBuilder<'a, C>where
C: ?Sized,
impl<'a, C> UnwindSafe for AcceptFileBuilder<'a, C>where
C: RefUnwindSafe + ?Sized,
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