pub struct S3ServerBuilder { /* private fields */ }Implementations§
Source§impl S3ServerBuilder
impl S3ServerBuilder
pub fn new(bucket: String) -> Self
Sourcepub fn cdn(&mut self, url: String) -> &mut Self
pub fn cdn(&mut self, url: String) -> &mut Self
Sets the base URL of the CDN to use. This is incompatible with encryption since the LFS object is not sent to Rudolfs.
Sourcepub fn cache(&mut self, cache: Cache) -> &mut Self
pub fn cache(&mut self, cache: Cache) -> &mut Self
Sets the cache to use. If not specified, then no local disk cache is used. All objects will get sent directly to S3.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for S3ServerBuilder
impl RefUnwindSafe for S3ServerBuilder
impl Send for S3ServerBuilder
impl Sync for S3ServerBuilder
impl Unpin for S3ServerBuilder
impl UnwindSafe for S3ServerBuilder
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