[][src]Struct buildkit_frontend::Bridge

pub struct Bridge { /* fields omitted */ }

Methods

impl Bridge[src]

pub async fn resolve_image_config<'_, '_, '_>(
    &'_ self,
    image: &'_ ImageSource,
    log: Option<&'_ str>
) -> Result<(String, ImageSpecification), Error>
[src]

pub async fn solve<'a, 'b: 'a>(
    &'a self,
    graph: Terminal<'b>
) -> Result<OutputRef, Error>
[src]

pub async fn read_file<'a, 'b: 'a, P>(
    &'a self,
    layer: &'b OutputRef,
    path: P,
    range: Option<FileRange>
) -> Result<Vec<u8>, Error> where
    P: Into<PathBuf>, 
[src]

Trait Implementations

impl Clone for Bridge[src]

Auto Trait Implementations

impl Send for Bridge

impl Sync for Bridge

impl Unpin for Bridge

impl !UnwindSafe for Bridge

impl !RefUnwindSafe for Bridge

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self