pub struct Bucket { /* private fields */ }
Expand description
Represent a bucket
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnwindSafe for Bucket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<'a, T1> ResourceQuery<'a> for T1where
T1: ResourceTrait,
impl<'a, T1> ResourceQuery<'a> for T1where
T1: ResourceTrait,
Source§type Answer = ResourceGuard<'a, T1>
type Answer = ResourceGuard<'a, T1>
Type of the answer to a query, should be a tuple
Source§fn has_resources(&self, rss: &Resources) -> bool
fn has_resources(&self, rss: &Resources) -> bool
Query if the resources exist
Source§fn borrow_resources(
&self,
rss: &'a Resources,
) -> Option<<T1 as ResourceQuery<'a>>::Answer>
fn borrow_resources( &self, rss: &'a Resources, ) -> Option<<T1 as ResourceQuery<'a>>::Answer>
Query and borrow the resources