pub struct AppServerReferenceInputs { /* private fields */ }Expand description
Secure input loading and bridge-owned staging for app-server references.
Implementations§
Source§impl AppServerReferenceInputs
impl AppServerReferenceInputs
Sourcepub fn new(
loader: Arc<InputLoader>,
remote_fetcher: Option<RemoteImageFetcher>,
staging_store: Arc<ArtifactStore>,
max_aggregate_bytes: u64,
) -> Result<Self, BridgeError>
pub fn new( loader: Arc<InputLoader>, remote_fetcher: Option<RemoteImageFetcher>, staging_store: Arc<ArtifactStore>, max_aggregate_bytes: u64, ) -> Result<Self, BridgeError>
Creates a reference loader with a per-request aggregate decoded-byte bound.
Trait Implementations§
Source§impl Clone for AppServerReferenceInputs
impl Clone for AppServerReferenceInputs
Source§fn clone(&self) -> AppServerReferenceInputs
fn clone(&self) -> AppServerReferenceInputs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AppServerReferenceInputs
impl RefUnwindSafe for AppServerReferenceInputs
impl Send for AppServerReferenceInputs
impl Sync for AppServerReferenceInputs
impl Unpin for AppServerReferenceInputs
impl UnsafeUnpin for AppServerReferenceInputs
impl UnwindSafe for AppServerReferenceInputs
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