pub struct LocalS3 { /* private fields */ }Implementations§
Source§impl LocalS3
impl LocalS3
pub fn new(path: impl AsRef<Path>) -> Self
pub fn create_bucket(&self, name: &str)
pub fn put_object(&self, bucket: &str, object: &str, contents: Bytes)
pub fn with_port(self, port: u16) -> Self
pub fn with_credentials(self, key_id: &str, secret_key: &str) -> Self
pub fn start(self) -> S3Handle
Auto Trait Implementations§
impl !Freeze for LocalS3
impl RefUnwindSafe for LocalS3
impl Send for LocalS3
impl Sync for LocalS3
impl Unpin for LocalS3
impl UnwindSafe for LocalS3
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