pub struct Session {
pub r: Reference,
/* private fields */
}Fields§
§r: ReferenceImplementations§
Source§impl Session
impl Session
pub fn new(r: Reference) -> Self
pub async fn manifest(&mut self, reference: &str) -> Result<(String, Manifest)>
pub async fn blob_bytes(&mut self, digest: &str, max: u64) -> Result<Vec<u8>>
pub async fn blob_to_file( &mut self, digest: &str, dst: &Path, max: u64, ) -> Result<()>
Auto Trait Implementations§
impl Forget for Session
impl Freeze for Session
impl Move for Session
impl RefUnwindSafe for Session
impl Send for Sessionwhere
RawVecInner: Send,
impl Sync for Sessionwhere
RawVecInner: Sync,
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Sessionwhere
RawVecInner: 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