pub struct PreboardClient<S> { /* private fields */ }Implementations§
Source§impl<S: AsyncRead + AsyncWrite + Unpin> PreboardClient<S>
impl<S: AsyncRead + AsyncWrite + Unpin> PreboardClient<S>
pub fn new(stream: S) -> Self
pub async fn create_stashbag( &mut self, manifest: Dictionary, ) -> Result<Dictionary, PreboardError>
pub async fn commit_stashbag( &mut self, manifest: Dictionary, ) -> Result<Dictionary, PreboardError>
Auto Trait Implementations§
impl<S> Freeze for PreboardClient<S>where
S: Freeze,
impl<S> RefUnwindSafe for PreboardClient<S>where
S: RefUnwindSafe,
impl<S> Send for PreboardClient<S>where
S: Send,
impl<S> Sync for PreboardClient<S>where
S: Sync,
impl<S> Unpin for PreboardClient<S>where
S: Unpin,
impl<S> UnsafeUnpin for PreboardClient<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for PreboardClient<S>where
S: UnwindSafe,
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