Skip to main content

OffloadSite

Struct OffloadSite 

Source
pub struct OffloadSite<'a> {
    pub cas: &'a mut Cas,
    pub city_root: &'a Path,
    pub room: &'a Address,
    pub origin: BlockOrigin,
}
Expand description

Where offloaded bytes live: the CAS for the original, and the room whose REST_DIR holds the materialized rest file. The room travels as its city address because the model’s read tool resolves every path from the city root. origin is the run and building the original is pinned for, so that a cas: read of it is judged where the output was made.

Fields§

§cas: &'a mut Cas§city_root: &'a Path§room: &'a Address§origin: BlockOrigin

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for OffloadSite<'a>

§

impl<'a> !Sync for OffloadSite<'a>

§

impl<'a> !UnwindSafe for OffloadSite<'a>

§

impl<'a> Freeze for OffloadSite<'a>

§

impl<'a> Send for OffloadSite<'a>

§

impl<'a> Unpin for OffloadSite<'a>

§

impl<'a> UnsafeUnpin for OffloadSite<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.